aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/test/cases/validations/length_validation_test.rb
diff options
context:
space:
mode:
authorEileen Uchitelle <eileencodes@gmail.com>2018-08-30 11:18:40 -0400
committerEileen Uchitelle <eileencodes@gmail.com>2018-08-30 11:18:40 -0400
commitb551a707552598bd0134a6ebecb076f0f7edeaa1 (patch)
tree6537d9f3a1b7939833849dd539474aa66aa8e8bd /activerecord/test/cases/validations/length_validation_test.rb
parent3d2caab7dc92a13d4dd369678d5b4ce659df8e52 (diff)
downloadrails-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/test/cases/validations/length_validation_test.rb')
0 files changed, 0 insertions, 0 deletions