appstruct-migrate 0.2.0

PostgreSQL schema diffing and migration execution for AppStruct
Documentation
//! Database schema diffing, risk classification, and PostgreSQL migration execution.

mod diff;
mod introspection;
mod lint;
mod runner;
mod sql;

pub use appstruct_schema::{
    ColumnSchema, DatabaseSchema, DatabaseType, ForeignKeySchema, IndexSchema, SCHEMA_VERSION,
    SeedSchema, SeedValueSchema, TableSchema, UniqueConstraintSchema, extract, from_json, to_json,
};
pub use diff::{
    ChangeRisk, ExecutionRisk, MigrationPlan, PlannedChange, SchemaChange, SchemaRisk, diff,
};
pub use introspection::{
    IntrospectedColumn, IntrospectedForeignKey, IntrospectedIndex, IntrospectedSchema,
    IntrospectedTable, inspect_database_schema,
};
pub use lint::{LintSeverity, MigrationLint, lint_plan};
pub use runner::{
    ApplyReport, BaselineStatus, DriftStatus, MigrationError, MigrationStatus, apply_project,
    baseline_project, connect_database, inspect_baseline, inspect_schema_structure,
    stamp_schema_checksum, status_project,
};
pub use sql::{initial_migration, migration_sql};