Versions in this module Expand all Collapse all v0 v0.0.3 May 23, 2023 v0.0.2 May 22, 2023 v0.0.1 May 19, 2023 Changes in this version + const DriverName + const GeneratedTypeAlways + const GeneratedTypeByDefault + const IndexTypeBRIN + const IndexTypeBTree + const IndexTypeGIN + const IndexTypeGiST + const IndexTypeHash + const IndexTypeSPGiST + const PartitionTypeHash + const PartitionTypeList + const PartitionTypeRange + const TypeArray + const TypeBigInt + const TypeBigSerial + const TypeBit + const TypeBitVar + const TypeBool + const TypeBoolean + const TypeBox + const TypeBytea + const TypeCIDR + const TypeChar + const TypeCharVar + const TypeCharacter + const TypeCircle + const TypeDate + const TypeDateMultiRange + const TypeDateRange + const TypeDecimal + const TypeDouble + const TypeFloat + const TypeFloat4 + const TypeFloat8 + const TypeGeometry + const TypeInet + const TypeInt + const TypeInt2 + const TypeInt4 + const TypeInt4MultiRange + const TypeInt4Range + const TypeInt64 + const TypeInt8 + const TypeInt8MultiRange + const TypeInt8Range + const TypeInteger + const TypeInterval + const TypeJSON + const TypeJSONB + const TypeLine + const TypeLseg + const TypeMACAddr + const TypeMACAddr8 + const TypeMoney + const TypeNumMultiRange + const TypeNumRange + const TypeNumeric + const TypePath + const TypePoint + const TypePolygon + const TypeReal + const TypeSerial + const TypeSerial2 + const TypeSerial4 + const TypeSerial8 + const TypeSmallInt + const TypeSmallSerial + const TypeTSMultiRange + const TypeTSQuery + const TypeTSRange + const TypeTSTZMultiRange + const TypeTSTZRange + const TypeTSVector + const TypeText + const TypeTime + const TypeTimeTZ + const TypeTimeWOTZ + const TypeTimeWTZ + const TypeTimestamp + const TypeTimestampTZ + const TypeTimestampWOTZ + const TypeTimestampWTZ + const TypeUUID + const TypeUserDefined + const TypeVarChar + const TypeXML + var DefaultDiff schema.Differ = &sqlx.Diff + var DefaultPlan migrate.PlanApplier = &planApply + var EvalHCL = schemahcl.EvalFunc(evalSpec) + var EvalHCLBytes = specutil.HCLBytesFunc(EvalHCL) + var MarshalHCL = schemahcl.MarshalerFunc(func(v any) ([]byte, error) { ... }) + var TypeRegistry = schemahcl.NewRegistry(schemahcl.WithSpecFunc(typeSpec), schemahcl.WithParser(ParseType), ...) + func FormatType(t schema.Type) (string, error) + func MarshalSpec(v any, marshaler schemahcl.Marshaler) ([]byte, error) + func Open(db schema.ExecQuerier) (migrate.Driver, error) + func ParseType(typ string) (schema.Type, error) + type ArrayType struct + T string + type BitType struct + Len int64 + T string + type CType struct + V string + type Cascade struct + type CheckColumns struct + Columns []string + type Concurrently struct + type Constraint struct + N string + T string + func (c Constraint) IsUnique() bool + type CurrencyType struct + T string + type DiffOptions struct + ConcurrentIndex struct{ ... } + type Driver struct + func (d *Driver) CheckClean(ctx context.Context, revT *migrate.TableIdent) error + func (d *Driver) Lock(ctx context.Context, name string, timeout time.Duration) (schema.UnlockFunc, error) + func (d *Driver) NormalizeRealm(ctx context.Context, r *schema.Realm) (*schema.Realm, error) + func (d *Driver) NormalizeSchema(ctx context.Context, s *schema.Schema) (*schema.Schema, error) + func (d *Driver) Snapshot(ctx context.Context) (migrate.RestoreFunc, error) + func (d *Driver) Version() string + type Enum struct + Name string + Schema *schemahcl.Ref + Values []string + type Identity struct + Generation string + Sequence *Sequence + type IndexColumnProperty struct + NullsFirst bool + NullsLast bool + type IndexInclude struct + Columns []*schema.Column + type IndexOpClass struct + Default bool + Name string + Params []struct{ ... } + func (o *IndexOpClass) DefaultFor(idx *schema.Index, part *schema.IndexPart) (bool, error) + func (o *IndexOpClass) Equal(x *IndexOpClass) bool + func (o *IndexOpClass) String() string + func (o *IndexOpClass) UnmarshalText(text []byte) error + type IndexPredicate struct + P string + type IndexStorageParams struct + AutoSummarize bool + PagesPerRange int64 + type IndexType struct + T string + type IntervalType struct + F string + Precision *int + T string + type NetworkType struct + Len int64 + T string + type NoInherit struct + type OIDType struct + T string + type Partition struct + Parts []*PartitionPart + T string + type PartitionPart struct + Attrs []schema.Attr + C *schema.Column + X schema.Expr + type RangeType struct + T string + type Sequence struct + Increment int64 + Last int64 + Start int64 + type SerialType struct + Precision int + SequenceName string + T string + func (s *SerialType) IntegerType() *schema.IntegerType + func (s *SerialType) SetType(t *schema.IntegerType) + type TextSearchType struct + T string + type UUIDType = schema.UUIDType + type UserDefinedType struct + T string + type XMLType struct + T string