type
Statement
type Statement struct {
// Kind is a stable, human-readable description of the planned change.
Kind string
// SQL is the complete PostgreSQL statement to apply.
SQL string
// CollectionID identifies the collection affected by the statement, when any.
CollectionID schema.StableID
// FieldID identifies the top-level field affected by the statement, when any.
FieldID schema.StableID
}One ordered development schema change.
Source adapters/postgres/migrate.go:16
Kindstring- Kind is a stable, human-readable description of the planned change.
SQLstring- SQL is the complete PostgreSQL statement to apply.
CollectionIDschema.StableID- CollectionID identifies the collection affected by the statement, when any.
FieldIDschema.StableID- FieldID identifies the top-level field affected by the statement, when any.