View Source Yacto.Migration.GenMigration (yacto v2.0.4)

Link to this section Summary

Link to this section Functions

Link to this function

generate(schema, migration, opts \\ [])

View Source
@spec generate(nil | module(), nil | module(), Keyword.t()) ::
  :not_changed
  | {:created, String.t(), integer()}
  | {:changed, String.t(), integer()}
  | {:deleted, String.t(), integer()}
Link to this function

generate_fields(types, attrs, structure_to, migration_opts)

View Source
Link to this function

generate_indices(indices, structure_to, migration_opts)

View Source