Project

General

Profile

Cannot initialize the database

Added by Zengjie Zhao almost 9 years ago

When I deploy the Redmine , I found cannot initialize the database.Please tell me how can I solve the problem.Thanks!
!!
I hava been execute: RAILS_ENV=production bundle exec rake db:migrate,but when I execute RAILS_ENV=production rake redmine:load_default_data ,it throw a fail about Error: Mysql2::Error: Unknown column 'enumerations.position' in 'order clause': SELECT 1 AS one FROM `enumerations` ORDER BY enumerations.position ASC LIMIT 1