aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/lib/active_record/migration
diff options
context:
space:
mode:
authorSean Griffin <sean@seantheprogrammer.com>2015-08-30 06:09:51 -0600
committerSean Griffin <sean@seantheprogrammer.com>2015-08-30 06:09:51 -0600
commitfa9e4970ea5affe8c5dedf8c9f97e064dc796feb (patch)
tree41279d095476814adb93d85cba6d77b4e33d5d69 /activerecord/lib/active_record/migration
parent79f44eb6c84fe1d7a7ba51f3f511d2e744788ef8 (diff)
parent68eb6ca63119c35a6b42c7a90ca3557517b1bcda (diff)
downloadrails-fa9e4970ea5affe8c5dedf8c9f97e064dc796feb.tar.gz
rails-fa9e4970ea5affe8c5dedf8c9f97e064dc796feb.tar.bz2
rails-fa9e4970ea5affe8c5dedf8c9f97e064dc796feb.zip
Merge pull request #21429 from yui-knk/fix/revert_disable_extension
Make revert of `disable_extension` to work
Diffstat (limited to 'activerecord/lib/active_record/migration')
-rw-r--r--activerecord/lib/active_record/migration/command_recorder.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/activerecord/lib/active_record/migration/command_recorder.rb b/activerecord/lib/active_record/migration/command_recorder.rb
index a73ee18170..db7f3f63f6 100644
--- a/activerecord/lib/active_record/migration/command_recorder.rb
+++ b/activerecord/lib/active_record/migration/command_recorder.rb
@@ -17,7 +17,7 @@ module ActiveRecord
ReversibleAndIrreversibleMethods = [:create_table, :create_join_table, :rename_table, :add_column, :remove_column,
:rename_index, :rename_column, :add_index, :remove_index, :add_timestamps, :remove_timestamps,
:change_column_default, :add_reference, :remove_reference, :transaction,
- :drop_join_table, :drop_table, :execute_block, :enable_extension,
+ :drop_join_table, :drop_table, :execute_block, :enable_extension, :disable_extension,
:change_column, :execute, :remove_columns, :change_column_null,
:add_foreign_key, :remove_foreign_key
]