Versions in this module Expand all Collapse all v0 v0.0.1 Jun 30, 2026 Changes in this version + type Column struct + Comment string + Default *string + IsGenerated bool + IsIdentity bool + Name string + Nullable bool + Type string + type ForeignKey struct + Columns []string + References []string + Table string + type Index struct + Columns []string + Method string + Name string + Unique bool + Where string + type Introspector interface + Introspect func(ctx context.Context, db *sql.DB, allowedSchemas []string) (Schema, error) + func MySQLIntrospector() Introspector + func PostgresIntrospector() Introspector + type Schema struct + Tables []Table + type Table struct + Columns []Column + ForeignKeys []ForeignKey + Indexes []Index + Name string + PrimaryKey []string + ReferencedBy []ForeignKey + Schema string