Versions in this module Expand all Collapse all v1 v1.14.0 Apr 11, 2026 Changes in this version + type Column struct + DataType string + DefaultValue *string + IsNullable bool + IsPrimary bool + IsUnique bool + MaxLength *int + Name string + OrdinalPos int + Precision *int + Scale *int + type DatabaseSchema struct + Name string + Tables []Table + type ForeignKey struct + Columns []string + Name string + OnDelete string + OnUpdate string + RefColumns []string + RefTable string + TableName string + type Index struct + Columns []string + IsPrimary bool + IsUnique bool + Name string + TableName string + type Loader interface + Load func(db *sql.DB, schemaName string) (*DatabaseSchema, error) + LoadTable func(db *sql.DB, schemaName, tableName string) (*Table, error) + type Table struct + Columns []Column + ForeignKeys []ForeignKey + Indexes []Index + Name string + Schema string