Versions in this module Expand all Collapse all v0 v0.1.61 Oct 20, 2026 v0.1.60 Oct 19, 2026 Changes in this version + const Dialect + const DriverName + var DefaultDiff schema.Differ = &sqlx.Diff + var DefaultPlan migrate.PlanApplier = &planApply + var EvalHCL = schemahcl.EvalFunc(codec.Eval) + var EvalHCLBytes = specutil.HCLBytesFunc(EvalHCL) + var MarshalHCL = schemahcl.MarshalerFunc(codec.MarshalSpec) + var TypeRegistry = schemahcl.NewRegistry(schemahcl.WithFormatter(FormatType), schemahcl.WithParser(ParseType), ...) + func CatalogType(c mssqlcatalog.Column) (schema.Type, error) + func CreateOrAlter(definition string) (string, error) + func FormatType(t schema.Type) (string, error) + func Open(db schema.ExecQuerier) (migrate.Driver, error) + func OpenClient(ctx context.Context, db *sql.DB) (*sqlclient.Client, error) + func OpenTx(ctx context.Context, db *sql.DB, opts *sql.TxOptions) (*sqlclient.Tx, error) + func ParseType(s string) (schema.Type, error) + type Clustered struct + type Codec struct + State *schemahcl.State + func (c *Codec) Eval(p *hclparse.Parser, v any, input map[string]cty.Value) error + func (c *Codec) EvalOptions(p *hclparse.Parser, v any, opts *schemahcl.EvalOptions) error + func (c *Codec) MarshalSpec(v any) ([]byte, error) + type DefaultConstraint struct + Name string + type Definition struct + Text string + type Driver struct + func (*Driver) FormatType(t schema.Type) (string, error) + func (*Driver) ParseType(s string) (schema.Type, error) + func (*Driver) StmtBuilder(opts migrate.PlanOptions) *sqlx.Builder + func (d *Driver) CheckClean(context.Context, *migrate.TableIdent) error + func (d *Driver) CompatibilityLevel() int + func (d *Driver) Lock(ctx context.Context, name string, timeout time.Duration) (schema.UnlockFunc, error) + func (d *Driver) Snapshot(context.Context) (migrate.RestoreFunc, error) + func (d *Driver) Version() string + type Identity struct + Increment int64 + Seed int64 + type IndexInclude struct + Columns []string + type IndexPredicate struct + P string + 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