1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00
rails--rails/activerecord/lib
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
..
active_record Allow to run migrations with given scope, with SCOPE=<scope> 2011-12-09 22:00:51 +01:00
rails/generators
active_record.rb implements automatic EXPLAIN logging for slow queries 2011-12-02 04:35:43 -08:00