Trouble starting from a fresh Database
Added by Kevin Crowell over 13 years ago
I am trying to use the trac_to_redmine feature. From http://www.redmine.org/wiki/redmine/RedmineMigrate#Trac, I read to start with an empty database with default data loaded.
So, I backed up the old database and created a new database with a different name in MySQL. I then changed the database that my production environment points to in the database.yml file.
When I tried the command: RAILS_ENV=production rake db:migrate
, I got this error:
(in /opt/redmine) rake aborted! Mysql::Error: Table 'redmine_multialign.custom_fields' doesn't exist: SHOW FIELDS FROM `custom_fields` (See full trace by running task with --trace)
I don't understand why it is looking for a table when I am trying to setup the original table structure in the database. Am I missing a step to setting up a fresh database?
Thanks.