On 30. mai. 2009, at 03.59, prlawrence wrote:
> Will RAILS_ENV=production rake db:reset get me back to square one,
> where I want to be?
Yes, it should. Running rake -T db (show tasks containing "db" in the
task name) displays this:
rake db:reset Drops and recreates the database from db/schema.rb for
the current environment
db/schema.rb is a Ruby file containing the database schema (and
generated whenever you do a rake db:migrate), so this should give you
a database with a schema, but no data.
Good luck!
- Marius
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Gitorious" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/gitorious?hl=en
-~----------~----~----~----~------~----~------~--~---