Ecto.Migration.before_commit
You're seeing just the callback
before_commit
, go back to Ecto.Migration module for more information.
Specs
before_commit() :: term()
Migration code to run immediately before the transaction is closed.
Keep in mind that it is treated like any normal migration code, and should consider both the up and down cases of the migration.