diff options
author | Piotr Sarnacki <drogus@gmail.com> | 2011-12-09 20:53:55 +0100 |
---|---|---|
committer | Piotr Sarnacki <drogus@gmail.com> | 2011-12-09 22:00:51 +0100 |
commit | 35a1744a45501fe79660ba11fbee35a7bf099bce (patch) | |
tree | 4aabbe1efd034f5f019f7ee6f99e3455e984aad9 /railties/bin/rails | |
parent | f0b782d060f76647e36adc40fe5fe818ec8e2c66 (diff) | |
download | rails-35a1744a45501fe79660ba11fbee35a7bf099bce.tar.gz rails-35a1744a45501fe79660ba11fbee35a7bf099bce.tar.bz2 rails-35a1744a45501fe79660ba11fbee35a7bf099bce.zip |
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
Diffstat (limited to 'railties/bin/rails')
0 files changed, 0 insertions, 0 deletions