mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
35a1744a45
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 |
||
---|---|---|
.. | ||
active_record | ||
rails/generators | ||
active_record.rb |