mirror of
https://git.kescher.at/CatCatNya/catstodon.git
synced 2024-11-23 15:48:07 +01:00
11 lines
365 B
Text
11 lines
365 B
Text
|
Description:
|
||
|
Generate a Rails migration in the db/post_migrate/ dir.
|
||
|
|
||
|
Interacts with the post_deployment_migrations initializer.
|
||
|
|
||
|
Example:
|
||
|
bin/rails generate post_deployment_migration IsolateChanges
|
||
|
|
||
|
Creates a migration in db/post_migrate/<timestamp>_isolate_changes.rb
|
||
|
which will have `disable_ddl_transaction!` and a `change` method included.
|