Actualiza SeaORM a la versión 0.8
This commit is contained in:
parent
0bad86cf68
commit
7c30a90c76
3 changed files with 15 additions and 17 deletions
|
|
@ -26,14 +26,14 @@ concat-string = "1.0.1"
|
|||
doc-comment = "0.3.3"
|
||||
figlet-rs = "0.1.3"
|
||||
futures = "0.3.21"
|
||||
once_cell = "1.10.0"
|
||||
once_cell = "1.12.0"
|
||||
substring = "1.4.5"
|
||||
term_size = "0.3.2"
|
||||
url = "2.2.2"
|
||||
|
||||
config_rs = { package = "config", version = "0.11.0", features = ["toml"] }
|
||||
|
||||
tracing = "0.1.34"
|
||||
tracing = "0.1.35"
|
||||
tracing-appender = "0.2.2"
|
||||
tracing-subscriber = { version = "0.3.11", features = ["json", "env-filter"] }
|
||||
tracing-unwrap = { version = "0.9.2", default-features = false }
|
||||
|
|
@ -52,22 +52,20 @@ sycamore = { version = "0.7.1", features = ["ssr"] }
|
|||
serde = { version = "1.0", features = ["derive"] }
|
||||
|
||||
[dependencies.sea-orm]
|
||||
version = "0.7.1"
|
||||
version = "0.8.0"
|
||||
features = ["debug-print", "macros", "runtime-async-std-native-tls"]
|
||||
default-features = false
|
||||
optional = true
|
||||
|
||||
[dependencies.sea-schema]
|
||||
version = "0.7.1"
|
||||
features = ["debug-print", "migration"]
|
||||
default-features = false
|
||||
[dependencies.sea-orm-migration]
|
||||
version = "0.8.3"
|
||||
optional = true
|
||||
|
||||
[features]
|
||||
default = []
|
||||
mysql = ["sea-orm", "sea-schema", "sea-orm/sqlx-mysql"]
|
||||
postgres = ["sea-orm", "sea-schema", "sea-orm/sqlx-postgres"]
|
||||
sqlite = ["sea-orm", "sea-schema", "sea-orm/sqlx-sqlite"]
|
||||
mysql = ["sea-orm", "sea-orm-migration", "sea-orm/sqlx-mysql"]
|
||||
postgres = ["sea-orm", "sea-orm-migration", "sea-orm/sqlx-postgres"]
|
||||
sqlite = ["sea-orm", "sea-orm-migration", "sea-orm/sqlx-sqlite"]
|
||||
|
||||
[build-dependencies]
|
||||
actix-web-static-files = "3.0.5"
|
||||
|
|
|
|||
|
|
@ -2,7 +2,7 @@ pub use url::Url as DbUri;
|
|||
|
||||
pub use sea_orm::{DatabaseConnection as DbConn, ExecResult, QueryResult};
|
||||
|
||||
pub use sea_schema::migration::prelude::*;
|
||||
pub use sea_orm_migration::prelude::*;
|
||||
|
||||
pub type MigrationItem = Box<dyn MigrationTrait>;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue