diff options
author | Eileen Uchitelle <eileencodes@gmail.com> | 2018-08-30 11:18:40 -0400 |
---|---|---|
committer | Eileen Uchitelle <eileencodes@gmail.com> | 2018-08-30 11:18:40 -0400 |
commit | b551a707552598bd0134a6ebecb076f0f7edeaa1 (patch) | |
tree | 6537d9f3a1b7939833849dd539474aa66aa8e8bd /activerecord/lib/active_record/serialization.rb | |
parent | 3d2caab7dc92a13d4dd369678d5b4ce659df8e52 (diff) | |
download | rails-b551a707552598bd0134a6ebecb076f0f7edeaa1.tar.gz rails-b551a707552598bd0134a6ebecb076f0f7edeaa1.tar.bz2 rails-b551a707552598bd0134a6ebecb076f0f7edeaa1.zip |
Add migrations_paths option to migration generator
Adds an option to the migration generator to allow setting the
migrations paths for that migration. This is useful for applications
that use multiple databases and put migrations per database in their own
directories.
```
bin/rails g migration CreateHouses address:string --migrations-paths=db/kingston_migrate
invoke active_record
create db/kingston_migrate/20180830151055_create_houses.rb
```
Diffstat (limited to 'activerecord/lib/active_record/serialization.rb')
0 files changed, 0 insertions, 0 deletions