small medium large xlarge

Generic-user-small
14 May 2010, 21:16
Csaba Nemeth (5 posts)

Quick question: instead of rerunning the migrations (which could be messy), why not use

rake db:schema:load

</code>

to recreate the database?

Thanks, Csaba

Samr_small_pragsmall
15 May 2010, 11:50
Sam Ruby (634 posts)

Based on errata 43200, I’m considering replacing both steps with

rake db:setup RAILS_ENV=production

My current leanings are to leave the creation of the database as a separate step, and add instructions to GRANT ALL PRIVILEGES ON depot_deployment.* TO 'username'@'localhost' IDENTIFIED BY 'password';.

You must be logged in to comment