mix ash_onetime.gen.migrations (ash_onetime v0.1.0)

Copy Markdown View Source

Generates the PostgreSQL objects required by ash_onetime.

mix ash_onetime.gen.migrations --repo MyApp.Repo
mix ash_onetime.gen.migrations --repo MyApp.Repo --claims hash --claim-partitions 8

Use --tenants to write to the repo tenant migration directory.

Summary

Functions

Renders the install migration deterministically for explicit options.

Functions

render(repo, options)

@spec render(
  module(),
  keyword()
) :: binary()

Renders the install migration deterministically for explicit options.