View Source AshPostgres.MigrationGenerator (ash_postgres v0.43.0)

Generates migrations based on resource snapshots

See Mix.Tasks.AshPostgres.GenerateMigrations for more information.

Link to this section Summary

Link to this section Functions

Link to this function

changing_multitenancy_affects_identities?(snapshot, old_snapshot)

View Source
Link to this function

generate(apis, opts \\ [])

View Source
Link to this function

get_existing_snapshot(snapshot, opts)

View Source
Link to this function

get_operations_from_snapshots(old_snapshots, new_snapshots, opts \\ [])

View Source

A work in progress utility for getting operations between snapshots.

Does not support everything supported by the migration generator.

Link to this function

get_snapshots(resource, all_resources)

View Source
Link to this function

has_reference?(multitenancy, attribute)

View Source
Link to this function

take_snapshots(api, repo, only_resources \\ nil)

View Source

A work in progress utility for getting snapshots.

Does not support everything supported by the migration generator.