Versions in this module Expand all Collapse all v0 v0.3.1 Aug 5, 2026 Changes in this version type Reference + Name string + func ParsePredefinedLogicalReferences(r io.Reader) ([]Reference, error) type Schema + func (s *Schema) AddLogicalReferences() + func (s *Schema) AddPredefinedLogicalReferences(references []Reference) error v0.3.0 Aug 3, 2026 Changes in this version type Schema + func (s *Schema) SkipTables(names ...string) v0.2.0 Jul 21, 2025 Changes in this version + func NewUnsupportedFormatError(given, expected TargetType) error + type Column struct + Comment string + Definition string + IsPrimary bool + Name string + type FormattedSchema struct + Data []byte + Type TargetType + type Reference struct + Source TableColumn + Target TableColumn + type Schema struct + References []Reference + Tables []Table + func (s *Schema) Sort() + type SchemaExtractor interface + ExtractSchema func(ctx context.Context) (Schema, error) + type SchemaFormatter interface + FormatSchema func(ctx context.Context, s Schema) (FormattedSchema, error) + type SchemaRenderer interface + RenderSchema func(ctx context.Context, fs FormattedSchema) ([]byte, error) + type Source interface + type Table struct + Columns []Column + Name string + type TableColumn struct + Column string + Table string + type Target interface + Capabilities func() TargetCapabilities + type TargetCapabilities struct + Format bool + Render bool + type TargetType string + type UnsupportedFormatError struct + func (err *UnsupportedFormatError) Error() string