method
ddl_transaction
v2.3.8 -
Show latest stable
- Class:
ActiveRecord::Migrator
ddl_transaction(&block)private
Wrap the migration in a transaction only if supported by the adapter.
ddl_transaction(&block)Wrap the migration in a transaction only if supported by the adapter.