Module: SaferMigrations::TableDefinition
- Defined in:
- lib/safer_migrations/schema_definitions.rb
Instance Method Summary collapse
- #safer_remove(*column_names, **options) ⇒ Object
- #safer_rename(column_name, new_column_name) ⇒ Object
Instance Method Details
#safer_remove(*column_names, **options) ⇒ Object
5 6 7 |
# File 'lib/safer_migrations/schema_definitions.rb', line 5 def safer_remove(*column_names, **) @base.safer_remove_columns(name, *column_names, **) end |
#safer_rename(column_name, new_column_name) ⇒ Object
9 10 11 |
# File 'lib/safer_migrations/schema_definitions.rb', line 9 def safer_rename(column_name, new_column_name) @base.safer_rename_column(name, column_name, new_column_name) end |