Module: OnlineMigrations::CommandRecorder
- Includes:
- StraightReversions
- Defined in:
- lib/online_migrations/command_recorder.rb
Defined Under Namespace
Modules: StraightReversions
Constant Summary collapse
- REVERSIBLE_AND_IRREVERSIBLE_METHODS =
[ :update_column_in_batches, :initialize_column_rename, :initialize_columns_rename, :revert_initialize_column_rename, :revert_initialize_columns_rename, :finalize_column_rename, :finalize_columns_rename, :revert_finalize_column_rename, :revert_finalize_columns_rename, :initialize_table_rename, :revert_initialize_table_rename, :finalize_table_rename, :revert_finalize_table_rename, :swap_column_names, :add_column_with_default, :add_not_null_constraint, :remove_not_null_constraint, :add_text_limit_constraint, :remove_text_limit_constraint, :add_reference_concurrently, :change_column_type_in_background, :enqueue_background_data_migration, :remove_background_data_migration, # column type change helpers :initialize_column_type_change, :initialize_columns_type_change, :revert_initialize_column_type_change, :revert_initialize_columns_type_change, :backfill_column_for_type_change, :backfill_columns_for_type_change, :finalize_column_type_change, :finalize_columns_type_change, :revert_finalize_column_type_change, :cleanup_column_type_change, :cleanup_columns_type_change, ]