aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/lib/active_record/migration.rb
Commit message (Expand)AuthorAgeFilesLines
* Revert schema dumper to use strings rather than integerseileencodes2019-06-201-2/+2
* Merge pull request #36439 from eileencodes/move-schema-migration-to-migration...Eileen M. Uchitelle2019-06-141-20/+23
|\
| * Move SchemaMigration to migration_contexteileencodes2019-06-141-20/+23
* | [ci skip] Update docs as `remove_column` can be reversedAlberto Almagro2019-06-141-3/+3
|/
* Enable `Layout/EmptyLinesAroundAccessModifier` copRyuta Kamizono2019-06-131-3/+0
* Make ActiveRecord::PendingMigrationError actionableGenadi Samokovarov2019-04-191-0/+6
* Introduce Actionable ErrorsGenadi Samokovarov2019-04-191-0/+1
* adjust styletakakuda2019-04-111-17/+17
* Allow `remove_foreign_key` with both `to_table` and `options`Ryuta Kamizono2019-03-061-1/+1
* Replaced usage of where.delete/destroy_all with delete/destroy_byAbhay Nikam2019-02-201-1/+1
* Remove deprecated `ActiveRecord::Migrator.migrations_path=`Rafael Mendonça França2019-01-171-7/+0
* Use high level API on `migration_context` instead of using low level API dire...Ryuta Kamizono2018-12-281-9/+9
* Use squiggly heredoc to strip odd indentation in the executed SQLRyuta Kamizono2018-11-221-5/+5
* Add `Style/RedundantFreeze` to remove redudant `.freeze`Yasuo Honda2018-09-291-2/+2
* Fix `transaction` reverting for migrationsfatkodima2018-09-261-4/+6
* Enable `Performance/UnfreezeString` copyuuji.yaginuma2018-09-231-4/+4
* Fix deprecation warning of `ActiveRecord::Migrator.migrations_path=`bogdanvlviv2018-09-171-1/+1
* `supports_xxx?` returns whether a feature is supported by the backendRyuta Kamizono2018-09-081-1/+1
* Substitute references to task for commandAlberto Almagro2018-07-061-1/+1
* Recommend use of rails over bin/railsAlberto Almagro2018-07-061-4/+4
* Add docs for ActiveRecord::Migration#say, #say_with_time, #suppress_messages ...Naoki Nishiguchi2018-06-181-0/+5
* Add missing `require "benchmark"`r7kamura2018-04-151-0/+1
* Merge pull request #31189 from tgxworld/raise_error_when_advisory_lock_is_not...Rafael França2018-02-271-2/+8
|\
| * Raise an error if advisory lock in migrator was not released.Guo Xiang Tan2017-11-211-2/+8
* | Remove unused `require "active_record/tasks/database_tasks"`Ryuta Kamizono2018-01-301-1/+0
* | Remove unused `connection` argument from `MigrationContext#current_version`Ryuta Kamizono2018-01-191-3/+3
* | Use selected_migrations if block_given?oz2018-01-181-1/+1
* | Refactor migration to move migrations paths to connectioneileencodes2018-01-181-119/+137
* | Enable `Layout/SpaceBeforeComma` rubocop rule, and fixed moreRyuta Kamizono2017-12-121-2/+2
* | `current_version` should catch `NoDatabaseError` from `get_all_versions`Ryuta Kamizono2017-12-041-12/+5
* | Make `Migrator.current_version` work without a current databaseyuuji.yaginuma2017-12-031-1/+9
* | Update incorrect backtick usage in RDoc to teletypeT.J. Schuck2017-11-221-2/+2
|/
* Fix migration version in doc of #up_onlybogdanvlviv2017-11-141-1/+1
* Add a #populate method to migrations (#31082)Rich2017-11-141-0/+18
* Merge pull request #30773 from y-yagi/fix_30765Eileen M. Uchitelle2017-11-121-1/+2
|\
| * Make automatically synchronize test schema work inside engineyuuji.yaginuma2017-10-021-1/+2
* | Fix `bin/rails db:migrate` with specified `VERSION`bogdanvlviv2017-11-061-1/+1
* | Remove deprecated method `ActiveRecord::Migrator.schema_migrations_table_name`Rafael Mendonça França2017-10-231-5/+0
|/
* Fix docs describing rollback [ci skip]dixpac2017-09-171-2/+2
* Use frozen-string-literal in ActiveRecordKir Shatrov2017-07-191-0/+2
* Fix `test_copying_migrations_preserving_magic_comments`Ryuta Kamizono2017-07-021-4/+6
* Revert "Merge pull request #29540 from kirs/rubocop-frozen-string"Matthew Draper2017-07-021-1/+0
* Merge pull request #29540 from kirs/rubocop-frozen-stringMatthew Draper2017-07-021-0/+1
|\
| * Enforce frozen string in RubocopKir Shatrov2017-07-011-0/+1
* | Make ActiveRecord frozen string literal friendly.Pat Allan2017-06-201-3/+3
|/
* Add additional raise UnknownMigrationVersionErrorbogdanvlviv2017-04-191-5/+7
* Fix `bin/rails db:forward` first migrationbogdanvlviv2017-04-191-1/+7
* Deprecate `Migrator.schema_migrations_table_name`Ryuta Kamizono2017-03-091-0/+5
* Extract `SchemaMigration.all_versions`Ryuta Kamizono2017-03-061-1/+1
* Remove useless `Migrator.schema_migrations_table_name`Ryuta Kamizono2017-03-051-5/+1