Skip to content

Commit f1fbec9

Browse files
committed
Bump sea-orm
Use *_raw API
1 parent 918e452 commit f1fbec9

File tree

7 files changed

+73
-65
lines changed

7 files changed

+73
-65
lines changed

Cargo.toml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ backtrace_printer = { version = "1.3.0" }
6262
# cli
6363
clap = { version = "4.4.7", features = ["derive"], optional = true }
6464
colored = { workspace = true }
65-
sea-orm = { git = "https://github.com/SeaQL/sea-orm", branch = "master", version = "2.0.0-rc", features = [
65+
sea-orm = { version = "2.0.0-rc", features = [
6666
"sqlx-postgres", # `DATABASE_DRIVER` feature
6767
"sqlx-sqlite",
6868
"runtime-tokio-rustls",
@@ -187,8 +187,6 @@ duct = { version = "1.0.0" }
187187

188188
[dependencies.sea-orm-migration]
189189
optional = true
190-
git = "https://github.com/SeaQL/sea-orm"
191-
branch = "master"
192190
version = "2.0.0-rc"
193191
features = [
194192
# Enable at least one `ASYNC_RUNTIME` and `DATABASE_DRIVER` feature if you want to run migration via CLI.

loco-new/base_template/Cargo.toml.t

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ tracing-subscriber = { version = "0.3", features = ["env-filter", "json"] }
3232
regex = { version = "1.11" }
3333
{%- if settings.db %}
3434
migration = { path = "migration" }
35-
sea-orm = { version = "1.1", features = [
35+
sea-orm = { version = "2.0.0-rc", features = [
3636
"sqlx-sqlite",
3737
"sqlx-postgres",
3838
"runtime-tokio-rustls",

loco-new/base_template/migration/Cargo.toml.t

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ loco-rs = { workspace = true }
1313

1414

1515
[dependencies.sea-orm-migration]
16-
version = "1.1.0"
16+
version = "2.0.0-rc"
1717
features = [
1818
# Enable at least one `ASYNC_RUNTIME` and `DATABASE_DRIVER` feature if you want to run migration via CLI.
1919
# View the list of supported features at https://www.sea-ql.org/SeaORM/docs/install-and-config/database-and-async-runtime.

0 commit comments

Comments
 (0)