View Source Pow.Extension.Ecto.Schema.Migration (Pow v1.0.39)

Generates schema migration content for extensions.

Summary

Functions

Generates migration file content.

Functions

gen(schema)

@spec gen(map()) :: binary()

Generates migration file content.

new(extension, context_base, schema_plural, config \\ [])

@spec new(atom(), atom(), binary(), Pow.Config.t()) :: map()

Generates migration schema map.