Expand description
Core data structures for vespertide schema definition and migration planning.
TableDef,ColumnDef: schema modelMigrationAction,MigrationPlan: typed migration operationsMigrationError: runtime migration error type
Re-exports§
pub use action::DataMigrationSql;pub use action::MigrationAction;pub use action::MigrationPlan;pub use action::NarrowingStrategy;pub use action::leading_ddl_keyword;pub use migration::MigrationError;pub use migration::MigrationOptions;pub use schema::CheckViolationStrategy;pub use schema::ColumnDef;pub use schema::ColumnName;pub use schema::ColumnType;pub use schema::ComplexColumnType;pub use schema::ConstraintKind;pub use schema::DefaultValue;pub use schema::EnumValues;pub use schema::ForeignKeyOrphanStrategy;pub use schema::IndexDef;pub use schema::IndexName;pub use schema::KeepPolicy;pub use schema::NumValue;pub use schema::PrimaryKeyAdditionStrategy;pub use schema::ReferenceAction;pub use schema::SimpleColumnType;pub use schema::StrOrBoolOrArray;pub use schema::StringOrBool;pub use schema::TableConstraint;pub use schema::TableDef;pub use schema::TableName;pub use schema::TableValidationError;pub use schema::UniqueConstraintStrategy;pub use sql_escape::escape_sql_string_literal;
Modules§
- action
- migration
- schema
- sql_
escape - SQL string-literal escaping helpers, shared across crates.