ruckusing-migrations icon indicating copy to clipboard operation
ruckusing-migrations copied to clipboard

Add support for schema dumps to allow db:setup and db:reset

Open RichardBradley opened this issue 12 years ago • 1 comments

The rails migration system keeps the latest version of the schema in a schema.rb file (see http://guides.rubyonrails.org/migrations.html#schema-dumping-and-you )

This allows:

  • An up to date schema reference to be kept in source control
  • The rake task "db:setup" which allows installing a new instance without running all the migrations in turn
  • The rake task "db:reset" for integration testing

RichardBradley avatar May 03 '13 16:05 RichardBradley

I think it will be better when the db:reset will clear the entire database structure.

piotrooo avatar Jul 03 '13 13:07 piotrooo