Versions in this module Expand all Collapse all v1 v1.0.6 Oct 23, 2026 Changes in this version + func DefaultSQL(c *schema.Column) (string, error) v1.0.4 Oct 22, 2026 Changes in this version + const Dialect + var DefaultDiff schema.Differ = &sqlx.Diff + var DefaultPlan = Planner + func CatalogType(c CatalogColumn) (schema.Type, error) + func CreateOrAlter(definition string) (string, error) + func FormatType(t schema.Type) (string, error) + func ParseType(s string) (schema.Type, error) + type CatalogColumn struct + DataType string + MaxLength *int + Name string + Precision *int + Scale *int + type Clustered struct + type DefaultConstraint struct + Name string + type Definition struct + Text string + type Disabled struct + type Identity struct + Increment int64 + Seed int64 + type IndexInclude struct + Columns []string + type IndexPredicate struct + P string + type Planner struct + func (Planner) PlanChanges(_ context.Context, name string, changes []schema.Change, ...) (*migrate.Plan, error) + type Routine struct + Kind string + Name string + Schema string + Text string + func ParseRoutine(definition string) (*Routine, error) + func (r *Routine) AddTo(s *schema.Schema) error + type SpecialType struct + T string + type UniqueConstraint struct