aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/test/cases/migration/command_recorder_test.rb
Commit message (Expand)AuthorAgeFilesLines
* make change_column_comment and change_table_comment invertibleYoshiyuki Kinjo2019-04-151-0/+34
* Fix `transaction` reverting for migrationsfatkodima2018-09-261-0/+10
* Change the empty block style to have space inside of the blockRafael Mendonça França2018-09-251-3/+3
* Follow up #33530bogdanvlviv2018-08-151-0/+5
* Allow `to_table` in `invert_remove_foreign_key`Rich2018-08-141-0/+8
* Use respond_to test helpersDaniel Colson2018-01-251-2/+2
* Use algorithm while removing index with db:rollbackMehmet Emin İNAÇ2017-09-211-0/+5
* 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
* Remove a redundant test case of command_recorder_testKoichi ITO2017-05-291-5/+0
* Add three new rubocop rulesRafael Mendonça França2016-08-161-13/+13
* applies new string literal convention in activerecord/testXavier Noria2016-08-061-10/+10
* Removed mocha from Active Record Part 2Ronak Jangir2015-09-161-1/+2
* Add reversible syntax for change_column_defaultPrem Sichanugrist2015-06-261-0/+10
* make `remove_index :table, :column` reversible.Yves Senn2015-06-151-0/+5
* Add an invert method for remove_foreign_keyAster Ryan2015-06-111-1/+30
* add test to ensure `remove_reference` with index and fk is invertable.Yves Senn2015-02-111-0/+5
* Failure to rollback t.timestamps when within a change_table migrationnoam2014-12-031-2/+2
* fk: infere column name from table names.Yves Senn2014-06-261-0/+5
* fk: make `add_foreign_key` reversible.Yves Senn2014-06-261-0/+20
* Add test cases for Migration#inverse_ofAditya Kapoor2014-06-171-0/+17
* Drop the correct index after reverting a migrationHubert Dąbrowski2014-02-131-3/+3
* Make change_table use object of current database adapterNishant Modak2014-01-071-1/+2
* Make 'enable_extension' revertibleEric Tipton2013-08-101-0/+10
* Make execute, change_column and remove_columns methods actually irreversibleMarc-Andre Lafortune2012-12-211-1/+7
* Make change_table reversible when possible [#8267]Marc-Andre Lafortune2012-12-211-0/+20
* Factorize methods that are easily reversible [#8267]Marc-Andre Lafortune2012-12-211-8/+8
* Make remove_index reversible [#8267]Marc-Andre Lafortune2012-12-211-3/+24
* Differentiate between remove_column and remove_columns. Make remove_column re...Marc-Andre Lafortune2012-12-211-1/+12
* Make drop_table reversible [#8267]Marc-Andre Lafortune2012-12-211-11/+24
* Add drop_join_table [#8267]Marc-Andre Lafortune2012-12-211-4/+10
* Allow reverting of migration commands with Migration#revert [#8267]Marc-Andre Lafortune2012-12-211-48/+51
* Make references statements reversibleAleksey Magusev2012-07-031-3/+27
* Add `create_join_table` migration helper to create HABTM join tablesRafael Mendonça França2012-01-271-0/+12
* Fix GH #4285. Remove options when we record calling creat_tablekennyj2012-01-041-0/+6
* Fixed bad options order in ActiveRecord::Migration::CommandRecorder#invert_re...jbbarth2011-08-281-2/+2
* Reversing the changes done in c278a2c while still resolving #1857.Vijay Dev2011-07-021-5/+3
* CommandRecorder should delegate in method_missing where possible. Fixes some ...Jon Leighton2011-06-301-1/+6
* record unsupported methods in CommandRecorder instead of letting the unsuppor...Vijay Dev2011-06-251-3/+5
* please use ruby -I lib:test path/to/test.rb, or export RUBY_OPTAaron Patterson2011-06-061-1/+1
* Refactor Active Record test connection setup. Please see the RUNNING_UNIT_TES...Jon Leighton2011-06-041-1/+1
* Added a test to check for correct behaviour with no options in add_index comm...David Workman2011-05-241-0/+6
* Simple fix for correctly inverting an add_index migration when a name has bee...David Workman2011-05-231-0/+6
* Add :bulk => true option to change_tablePratik Naik2011-01-311-1/+1
* command recorder will record commands sent to a delegate objectAaron Patterson2010-11-191-0/+22
* IrreversibleMigration is raised if we cannot invert the commandAaron Patterson2010-11-191-0/+7
* commands are reversedAaron Patterson2010-11-191-0/+7
* partial implementation of the command recorderAaron Patterson2010-11-191-0/+72