Added by Geizon Tischer over 9 years ago
good morning friends!
I have a little problem in the Redmine 2.6.6 installation
Earlier I used the 1.4.2 version of Redmine and had to reinstall. I chose to install the version 2.6.6
My problem is to use the previous database.
I'm doing as follows:
- I made the whole installation of Redmine 2.6.6 - OK
- Mysql u [uname] -p [pass] [db_to_restore] <[backupfile.sql] I edited the database.yml
- Turning the rake db: migrate RAILS_ENV = "production" against mistakes and can not use.
What is the correct way to do?
thanks
SOLVED: first ran "alter table repositories drop column is_default;" and then the "rake db:migrate RAILS_ENV=production