aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/lib/rails/generators/active_record/migration.rb
Commit message (Collapse)AuthorAgeFilesLines
* move `db_migrate_path` method to `Migration` moduleyuuji.yaginuma2017-01-221-0/+8
| | | | | Since `Migration` module is included in both `MigrationGenerator` and `ModelGenerator`, no need to define a common method for each class.
* applies new string literal convention in activerecord/libXavier Noria2016-08-061-1/+1
| | | | | The current code base is not uniform. After some discussion, we have chosen to go with double quotes by default.
* Use thor class_option to make the primary_key_type option workRafael Mendonça França2015-10-231-0/+7
| | | | Also move the method to the right class
* Make `.next_migration_number` reusable for third party AR generators.Yves Senn2013-09-301-0/+18
|
* Remove unused implementation of next_migration_numberMarcelo Silveira2012-02-231-15/+0
|
* split out active_record migration logic so others can easily reuse [#5389 ↵Jack Dempsey2010-09-011-0/+15
state:resolved] Signed-off-by: José Valim <jose.valim@gmail.com>