Generates the outbox_events table migration in the host's
priv/repo/migrations/ directory.
Examples
mix outbox.gen.migration
mix outbox.gen.migration --prefix tenantOptions
--prefix- Postgres schema prefix to use. Defaults to"public".--repo- the Repo to introspect for the migrations path. Defaults to the first repo in:ecto_reposconfig.
Summary
Functions
Renders the migration body. Exposed so the generator's test can verify the canonical template without writing to disk.
Writes a migration to the given directory. The timestamp_fun allows
tests to inject a deterministic timestamp.
Functions
Renders the migration body. Exposed so the generator's test can verify the canonical template without writing to disk.
Writes a migration to the given directory. The timestamp_fun allows
tests to inject a deterministic timestamp.