1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00
rails--rails/railties/test/application/rake
Piotr Sarnacki 35a1744a45 Allow to run migrations with given scope, with SCOPE=<scope>
Scope in migrations can be defined by adding suffix in filename,
like: 01_a_migration.blog.rb. Such migration have blog scope.

Scope is automatically added while copying migrations from engine,
so if you want to revert all of the migrations from given engine,
you can just run db:migrate with SCOPE, like:

    rake db:migrate SCOPE=blog
2011-12-09 22:00:51 +01:00
..
migrations_test.rb Allow to run migrations with given scope, with SCOPE=<scope> 2011-12-09 22:00:51 +01:00
notes_test.rb Move rake notes test to railties/test/application/rake/notes_test.rb 2011-12-07 17:31:31 +01:00