If you accidentally setup development databases to production (by running rake db:setup)
To drop this database:
rake db:drop
To setup the database properly for production:
rake db:setup RAILS_ENV=production
rake db:migrate RAILS_ENV=production
If you accidentally setup development databases to production (by running rake db:setup)
To drop this database:
rake db:drop
To setup the database properly for production:
rake db:setup RAILS_ENV=production
rake db:migrate RAILS_ENV=production
Article Topic:Software Development - Rails
Date:April 26, 2014
Want me to help develop your next Ruby-on-Rails project or application?
Contact Me