Billy Chan 6d7bcb35e5
Atomic migration (#1379)
* Running atomic migration

* refactor

* clippy

* visibility

* Execute migration in transaction when it's a Postgres connection

* Testing rolling back on migrate up and down

* lifetimes elision

* typo

* abort migration before committing nested transaction
2023-01-30 22:55:46 +08:00

14 lines
299 B
Rust

#[cfg(feature = "cli")]
pub use crate::cli;
pub use crate::{
IntoSchemaManagerConnection, MigrationName, MigrationTrait, MigratorTrait, SchemaManager,
SchemaManagerConnection,
};
pub use async_trait;
pub use sea_orm::{
self,
sea_query::{self, *},
DbErr, DeriveMigrationName,
};