Skip to main content

Module types

Module types 

Source

Structs§

PostgresFactError
Path-aware extractor failure. Extractors return this instead of panicking.
PostgresFacts
Combined schema and embedded-SQL facts for one request.
PostgresSchemaOptions
Options for selecting SQL schema files. There is no hardcoded migrations root.
SqlAddColumnMetadata
One ALTER TABLE … ADD COLUMN.
SqlColumnMetadata
Column facts later generated-column and lock-ordering rules can query.
SqlComplexQuery
SqlCreateIndexMetadata
One CREATE INDEX or unique/primary-key covering index.
SqlCreateTableMetadata
One CREATE TABLE after PostgreSQL dialect parsing.
SqlDeclaredIdentifier
A name introduced by one migration statement, unquoted and schema-unqualified.
SqlDropIndexMetadata
One DROP INDEX so later migrations can remove earlier creates.
SqlForeignKeyMetadata
One foreign key from CREATE TABLE or ALTER TABLE.
SqlIndexParam
One key column of a btree index, including opclass and sort options.
SqlNamedConstraint
A named constraint add or VALIDATE CONSTRAINT.
SqlSchemaFileFacts
Schema facts for one SQL file read through SourceStore.
SqlSettingUse
A syntactically recoverable PostgreSQL parameter change.
SqlStatementKind
One schema-level statement kind recorded from PostgreSQL SQL.
SqlUnanalyzableStatement
One SQL chunk that lenient parsing recovered partially or could not recover.
SqlUnnamedConstraint
An unnamed ALTER TABLE ADD FOREIGN KEY or CHECK.

Enums§

SqlQueryComplexity
SqlTableSchemaEvent
Ordered table catalog changes, retaining qualified and decoded last-component identities.