ecto_ensure_migrations v0.1.0 EctoEnsureMigrations.Statement

Link to this section Summary

Link to this section Types

Link to this type

statement_type()

statement_type() :: :create_function | :create_cast | :create_operator
Link to this type

t()

t() :: %EctoEnsureMigrations.Statement{
  ddl: binary(),
  file: binary(),
  identifier: binary(),
  type: statement_type()
}

Link to this section Functions

Link to this function

guess_identifier(atom, stm)

guess_identifier(statement_type(), binary()) :: {:ok, binary()} | :error
Link to this function

guess_type(arg1)

guess_type(binary()) :: statement_type() | nil