Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
RichardBradley opened this issue May 3, 2013 · 1 comment
Open

Comments

@RichardBradley
Copy link

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
@piotrooo
Copy link

piotrooo commented Jul 3, 2013

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants