aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/lib/active_record/migration/command_recorder.rb
Commit message (Expand)AuthorAgeFilesLines
* Enable `Layout/EmptyLinesAroundAccessModifier` copRyuta Kamizono2019-06-131-1/+0
* make change_column_comment and change_table_comment invertibleYoshiyuki Kinjo2019-04-151-1/+24
* Allow `remove_foreign_key` with both `to_table` and `options`Ryuta Kamizono2019-03-061-13/+4
* Fix `transaction` reverting for migrationsfatkodima2018-09-261-1/+18
* Allow `to_table` in `invert_remove_foreign_key`Rich2018-08-141-3/+16
* Remove usage of strip_heredoc in the framework in favor of <<~Rafael Mendonça França2018-02-161-1/+1
* Merge pull request #30510 from yhirano55/add_nodoc_to_activerecordEileen M. Uchitelle2017-11-251-1/+1
|\
| * Add :nodoc: to activerecord [ci skip]Yoshiyuki Hirano2017-09-031-1/+1
* | Use algorithm while removing index with db:rollbackMehmet Emin İNAÇ2017-09-211-2/+2
|/
* Use frozen-string-literal in ActiveRecordKir Shatrov2017-07-191-0/+2
* Revert "Merge pull request #29540 from kirs/rubocop-frozen-string"Matthew Draper2017-07-021-1/+0
* Enforce frozen string in RubocopKir Shatrov2017-07-011-0/+1
* `respond_to_missing?` should be privateRyuta Kamizono2017-04-221-6/+6
* Fix broken comments indentation caused by rubocop auto-correct [ci skip]Ryuta Kamizono2016-09-141-1/+1
* Fix broken heredoc indentation caused by rubocop auto-correctRyuta Kamizono2016-09-031-4/+4
* Override `respond_to_missing?` instead of `respond_to?` when possibleSean Griffin2016-08-311-1/+1
* normalizes indentation and whitespace across the projectXavier Noria2016-08-061-88/+88
* adding basic change_column and remove_columns in CommandRecorder documentatio...Gaurav Sharma2015-09-291-0/+2
* Merge pull request #21412 from yui-knk/feature/irreversible_migration_error_msgYves Senn2015-09-041-1/+6
|\
| * Add detailed error message to `IrreversibleMigration`yui-knk2015-08-301-1/+6
| * Add detailed error message to `IrreversibleMigration`yui-knk2015-08-281-1/+1
| * Add detailed error message to `IrreversibleMigration`yui-knk2015-08-281-1/+1
* | Merge pull request #21432 from yui-knk/fix/what_change_method_can_reverseSean Griffin2015-08-301-1/+13
|\ \
| * | [ci skip] Update what methods `Migration#change` can reverseyui-knk2015-08-311-1/+13
* | | Merge pull request #21429 from yui-knk/fix/revert_disable_extensionSean Griffin2015-08-301-1/+1
|\ \ \ | |/ / |/| |
| * | Make revert of `disable_extension` to workyui-knk2015-08-301-1/+1
| |/
* | Merge branch 'master' of github.com:rails/docrailsVijay Dev2015-08-301-1/+1
|\ \ | |/ |/|
| * [ci skip] Capitalize commentsyui-knk2015-08-291-1/+1
* | Make `change_column_default` to workyui-knk2015-08-251-8/+8
|/
* Add reversible syntax for change_column_defaultPrem Sichanugrist2015-06-261-1/+11
* make `remove_index :table, :column` reversible.Yves Senn2015-06-151-7/+9
* Add an invert method for remove_foreign_keyAster Ryan2015-06-111-0/+10
* Merge pull request #16305 from tomkadwill/documented_change_tableRafael Mendonça França2014-07-281-1/+1
|\
| * Added nodoc to change_tableTom Kadwill2014-07-281-1/+1
* | fk: review corrections: indent, visibility, syntax, wording.Yves Senn2014-06-261-3/+3
* | fk: infere column name from table names.Yves Senn2014-06-261-1/+3
* | fk: make `add_foreign_key` reversible.Yves Senn2014-06-261-1/+16
|/
* Drop the correct index after reverting a migrationHubert Dąbrowski2014-02-131-1/+6
* make `change_column_null` reversible. Closes #13576.Yves Senn2014-01-081-1/+6
* Make change_table use object of current database adapterNishant Modak2014-01-071-4/+6
* Make 'enable_extension' revertibleEric Tipton2013-08-101-1/+2
* raise IrreversibleMigration if no column givenNeeraj Singh2013-05-061-1/+4
* Fixes for PR [#8267]Marc-Andre Lafortune2012-12-221-1/+2
* Remove duplicated methods in command recorder and duplicated test nameCarlos Antonio da Silva2012-12-211-3/+3
* Make execute, change_column and remove_columns methods actually irreversibleMarc-Andre Lafortune2012-12-211-1/+2
* Make change_table reversible when possible [#8267]Marc-Andre Lafortune2012-12-211-1/+5
* Factorize methods that are easily reversible [#8267]Marc-Andre Lafortune2012-12-211-34/+20
* Make remove_index reversible [#8267]Marc-Andre Lafortune2012-12-211-4/+10
* Differentiate between remove_column and remove_columns. Make remove_column re...Marc-Andre Lafortune2012-12-211-2/+7
* Make drop_table reversible [#8267]Marc-Andre Lafortune2012-12-211-3/+10