Skip to main content

Crate appstruct_schema

Crate appstruct_schema 

Source
Expand description

Database schema contracts and deterministic SQL rendering for AppStruct.

Re-exports§

pub use sql::initial_migration;

Modules§

sql

Structs§

ColumnSchema
DatabaseSchema
ForeignKeySchema
IndexSchema
SeedSchema
SeedValueSchema
TableSchema
UniqueConstraintSchema

Enums§

DatabaseType

Constants§

SCHEMA_VERSION

Functions§

extract
Extract a database schema from semantically valid IR.
from_json
Parse a schema snapshot.
to_json
Serialize a canonical schema snapshot.