Rails Accidentally Setup Development Databases On Production

Posted By Weston Ganger

<p>If you accidentally setup development databases to production (by running rake db:setup)</p>
<p>To drop this database:</p>

rake db:setup RAILS_ENV=production<br />rake db:migrate RAILS_ENV=production

Article Topic:Software Development - Ruby / Rails

Date:April 26, 2014