hmans / schnitzely_remigrate
- Source
- Commits
- Network (0)
- Issues (0)
- Downloads (0)
- Wiki (1)
- Graphs
-
Branch:
master
| name | age | message | |
|---|---|---|---|
| |
MIT-LICENSE | ||
| |
README | ||
| |
init.rb | ||
| |
tasks/ |
README
Schnitzely Remigrate ==================== Adds a rake task called db:remigrate to your Rails project that will recreate your database from scratch, migrating all the way up using all existing database migrations, and then fills your database with your project's fixtures. It is equivalent to running the rake tasks db:migrate:reset and db:fixtures:load. Usage: rake db:remigrate You can, of course, specify a specific environment manually: rake RAILS_ENV=staging db:remigrate Please note that this plugin has a failsafe mechanism to not run in the production environment. Copyright (c) 2008 Hendrik Mans, released under the MIT license

