Not possible to create MySQL database from schema.rb for Rails 4 app?
Hi, I followed this tutorial to deploy my first Rails app on Ubuntu / Nginx / Unicorn: https://www.digitalocean.com/community/articles/how-to-launch-your-ruby-on-rails-app-with-the-digitalocean-one-click-image However, in my Rails production log I see this: E, [2014-05-24T11:48:34.711858 #13238] ERROR -- : Mysql2::Error: Table 'rails.users' doesn't exist: SELECT `users`.* FROM `users` WHERE `users`.`remember_token` IS NULL LIMIT 1 I, [2014-05-24T11:48:34.712349 #13238] INFO -- : Completed 500 Internal Server Error in 48ms When I take a closer look at my "rails" database I can see that it contains only one table ("schema_migrations") where there should be more than a dozen. Running commands like RAILS_ENV=production rake db:migrate or RAILS_ENV=production rake db:create db:schema:load seems to have no effect on the database. But strangely I don't get any error messages when running those commands. How can I create the database for my app from schema.rb? Thanks for any help.