pub mod ddl;
pub mod diff;
mod error;
pub mod file;
pub(crate) mod inspectdb;
pub mod invert;
pub mod make;
pub mod manage;
mod runner;
pub mod scaffold;
pub mod snapshot;
pub use diff::{detect_changes, detect_unsupported_field_changes, render_changes, SchemaChange};
pub use error::MigrateError;
pub use file::{discover_migration_dirs, list_dirs, DataOp, Migration, MigrationScope, Operation};
pub use invert::invert;
pub use make::{make_migrations, make_migrations_for_app, make_migrations_from};
#[cfg(feature = "postgres")]
pub use manage::{append_data_op, make_data_migration};
pub use runner::{
applied_set_pool, apply_all_pool, downgrade_pool, drop_all_pool, ensure_ledger_pool,
migrate_dry_run_pool, migrate_embedded_pool, migrate_pool, migrate_to_pool, registered_models,
unapply_force_pool, unapply_pool, Builder, MigrationPreview, LEDGER_TABLE,
};
#[cfg(feature = "postgres")]
pub use runner::{
applied_set, apply_all, downgrade, drop_all, ensure_ledger, migrate, migrate_dry_run,
migrate_embedded, migrate_to, unapply, unapply_force,
};
pub use snapshot::{FieldSnapshot, IndexSnapshot, RelationSnapshot, SchemaSnapshot, TableSnapshot};