# Functions
BinarySize configures the size of the binary type.
DecimalPrecision configures the precision of the decimal type.
DecimalScale configures the scale of the decimal type.
DecimalUnsigned configures the unsigned of the float type.
DiffSkipChanges returns a DiffOption that skips the given change types.
EnumName configures the name of the name.
EnumSchema configures the schema of the enum.
EnumValues configures the values of the enum.
FloatPrecision configures the precision of the float type.
FloatUnsigned configures the unsigned of the float type.
IsNotExistError reports if an error is a NotExistError.
New creates a new Schema.
NewBinaryColumn creates a new BinaryType column.
NewBoolColumn creates a new BoolType column.
NewCheck creates a new check.
NewColumn creates a new column with the given name.
NewColumnPart creates a new index part with the given column.
NewDecimalColumn creates a new DecimalType column.
NewDiffOptions creates a new DiffOptions from the given configuration.
NewEnumColumn creates a new EnumType column.
NewExprPart creates a new index part with the given expression.
NewFloatColumn creates a new FloatType column.
NewForeignKey creates a new foreign-key with the given constraints/symbol name.
NewIndex creates a new index with the given name.
NewIndexPart creates a new index part.
NewIntColumn creates a new IntegerType column.
NewJSONColumn creates a new JSONType column.
NewNullBinaryColumn creates a new nullable BinaryType column.
NewNullBoolColumn creates a new nullable BoolType column.
NewNullColumn creates a new nullable column with the given name.
NewNullDecimalColumn creates a new nullable DecimalType column.
NewNullEnumColumn creates a new nullable EnumType column.
NewNullFloatColumn creates a new nullable FloatType column.
NewNullIntColumn creates a new nullable IntegerType column.
NewNullJSONColumn creates a new nullable JSONType column.
NewNullSpatialColumn creates a new nullable SpatialType column.
NewNullStringColumn creates a new nullable StringType column.
NewNullTimeColumn creates a new nullable TimeType column.
NewNullUintColumn creates a new nullable unsigned IntegerType column.
NewPrimaryKey creates a new primary-key index for the given columns.
NewRealm creates a new Realm.
NewSpatialColumn creates a new SpatialType column.
NewStringColumn creates a new StringType column.
NewTable creates a new Table.
NewTimeColumn creates a new TimeType column.
NewUintColumn creates a new unsigned IntegerType column.
NewUniqueIndex creates a new unique index with the given name.
RemoveAttr returns a new slice where all attributes of type T are filtered.
ReplaceOrAppend searches an attribute of the same type as v in the list and replaces it.
StringSize configures the size of the string type.
TimePrecision configures the precision of the time type.
# Constants
Reference options (actions) specified by ON UPDATE and ON DELETE subclauses of the FOREIGN KEY clause.
ChangeAttr describes attributes change of an element.
ChangeCharset describes character-set change.
ChangeCollate describes collation/encoding change.
ChangeColumn describes a change to the foreign-key (child) columns.
ChangeComment describes comment chang (of any element).
ChangeDefault describe a column default change.
ChangeDeleteAction describes a change to the foreign-key delete action.
ChangeGenerated describe a change to the generated expression.
ChangeNull describe a change to the NULL constraint.
ChangeParts describes a change to one or more of the index parts.
ChangeRefColumn describes a change to the foreign-key (parent) columns.
ChangeRefTable describes a change to the foreign-key (parent) table.
ChangeType describe a column type change.
ChangeUnique describes a change to the uniqueness constraint.
ChangeUpdateAction describes a change to the foreign-key update action.
InspectSchemas enables schema inspection.
InspectTables enables schema tables inspection including all its child resources (e.g.
Reference options (actions) specified by ON UPDATE and ON DELETE subclauses of the FOREIGN KEY clause.
NoChange holds the zero value of a change kind.
Reference options (actions) specified by ON UPDATE and ON DELETE subclauses of the FOREIGN KEY clause.
Reference options (actions) specified by ON UPDATE and ON DELETE subclauses of the FOREIGN KEY clause.
Reference options (actions) specified by ON UPDATE and ON DELETE subclauses of the FOREIGN KEY clause.
# Variables
ErrLocked is returned on Lock calls which have failed to obtain the lock.
# Structs
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
A NotExistError wraps another error to retain its original text but makes it possible to the migrator to catch it.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
# Interfaces
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
ExecQuerier wraps the two standard sql.DB methods.
No description provided by the author
No description provided by the author
No description provided by the author
Normalizer is the interface implemented by the different database drivers for "normalizing" schema objects.
No description provided by the author
# Type aliases
BinaryOption allows configuring BinaryType using functional options.
A ChangeKind describes a change kind that can be combined using a set of flags.
Changes is a list of changes allow for searching and mutating changes.
DecimalOption allows configuring DecimalType using functional options.
No description provided by the author
EnumOption allows configuring EnumType using functional options.
FloatOption allows configuring FloatType using functional options.
An InspectMode controls the amount and depth of information returned on inspection.
ReferenceOption for constraint actions.
StringOption allows configuring StringType using functional options.
TimeOption allows configuring TimeType using functional options.
No description provided by the author