Server ubuntu 64b App using rails 3.1 database mysql
Now rails db:create works fine
Rails db:migrate done manually or through cap deploy:migration give me the following error :
rake aborted! Mysql2::Error: Table 'mywebsite_production.galleries' doesn't exist: SHOW FIELDS FROM
galleries
/srv/d_mywebsite/www/mywebsite/shared/bundle/ruby/1.9.1/gems/activerecord-3.1.3/lib/active_record/connection_adapters/mysql2_adapter.rb:283:in `query'
What is wrong in this deployment ?