diff --git a/sea-orm-cli/Cargo.toml b/sea-orm-cli/Cargo.toml index 33c475b7..c307f831 100644 --- a/sea-orm-cli/Cargo.toml +++ b/sea-orm-cli/Cargo.toml @@ -38,7 +38,7 @@ clap = { version = "4.3", features = ["env", "derive"], optional = true } dotenvy = { version = "0.15", default-features = false, optional = true } async-std = { version = "1.9", default-features = false, features = ["attributes", "tokio1"], optional = true } sea-orm-codegen = { version = "=1.0.0-rc.1", path = "../sea-orm-codegen", default-features = false, optional = true } -sea-schema = { version = "0.15.0-rc.1" } +sea-schema = { version = "0.15.0-rc.3" } sqlx = { version = "0.7", default-features = false, features = ["mysql", "postgres"], optional = true } tracing-subscriber = { version = "0.3.17", default-features = false, features = ["env-filter", "fmt"] } tracing = { version = "0.1", default-features = false } diff --git a/sea-orm-migration/Cargo.toml b/sea-orm-migration/Cargo.toml index ece67dfd..8f500ada 100644 --- a/sea-orm-migration/Cargo.toml +++ b/sea-orm-migration/Cargo.toml @@ -25,7 +25,7 @@ clap = { version = "4.3", features = ["env", "derive"], optional = true } dotenvy = { version = "0.15", default-features = false, optional = true } sea-orm = { version = "1.0.0-rc.1", path = "../", default-features = false, features = ["macros"] } sea-orm-cli = { version = "1.0.0-rc.1", path = "../sea-orm-cli", default-features = false, optional = true } -sea-schema = { version = "0.15.0-rc.1" } +sea-schema = { version = "0.15.0-rc.3" } tracing = { version = "0.1", default-features = false, features = ["log"] } tracing-subscriber = { version = "0.3.17", default-features = false, features = ["env-filter", "fmt"] } futures = { version = "0.3", default-features = false, features = ["std"] } diff --git a/sea-orm-migration/src/manager.rs b/sea-orm-migration/src/manager.rs index 994204e1..14ca418c 100644 --- a/sea-orm-migration/src/manager.rs +++ b/sea-orm-migration/src/manager.rs @@ -101,9 +101,9 @@ impl<'c> SchemaManager<'c> { T: AsRef, { let stmt = match self.conn.get_database_backend() { - DbBackend::MySql => MySql::has_table(table), - DbBackend::Postgres => Postgres::has_table(table), - DbBackend::Sqlite => Sqlite::has_table(table), + DbBackend::MySql => MySql.has_table(table), + DbBackend::Postgres => Postgres.has_table(table), + DbBackend::Sqlite => Sqlite.has_table(table), }; let builder = self.conn.get_database_backend(); @@ -122,9 +122,9 @@ impl<'c> SchemaManager<'c> { C: AsRef, { let stmt = match self.conn.get_database_backend() { - DbBackend::MySql => MySql::has_column(table, column), - DbBackend::Postgres => Postgres::has_column(table, column), - DbBackend::Sqlite => Sqlite::has_column(table, column), + DbBackend::MySql => MySql.has_column(table, column), + DbBackend::Postgres => Postgres.has_column(table, column), + DbBackend::Sqlite => Sqlite.has_column(table, column), }; let builder = self.conn.get_database_backend(); @@ -143,9 +143,9 @@ impl<'c> SchemaManager<'c> { I: AsRef, { let stmt = match self.conn.get_database_backend() { - DbBackend::MySql => MySql::has_index(table, index), - DbBackend::Postgres => Postgres::has_index(table, index), - DbBackend::Sqlite => Sqlite::has_index(table, index), + DbBackend::MySql => MySql.has_index(table, index), + DbBackend::Postgres => Postgres.has_index(table, index), + DbBackend::Sqlite => Sqlite.has_index(table, index), }; let builder = self.conn.get_database_backend();