update examples

This commit is contained in:
Billy Chan 2024-08-02 17:07:54 +08:00
parent 4587d36e6f
commit 2c70ad10be
No known key found for this signature in database
GPG Key ID: 45461E52F22E0279
34 changed files with 35 additions and 35 deletions

View File

@ -13,4 +13,4 @@ serde = { version = "1", features = ["derive"] }
[dependencies.sea-orm]
path = "../../../" # remove this line in your own project
version = "1.0.0-rc.7" # sea-orm version
version = "~1.0.0" # sea-orm version

View File

@ -13,7 +13,7 @@ async-std = { version = "1", features = ["attributes", "tokio1"] }
[dependencies.sea-orm-migration]
path = "../../../sea-orm-migration" # remove this line in your own project
version = "1.0.0-rc.7" # sea-orm-migration version
version = "~1.0.0" # sea-orm-migration version
features = [
# Enable following runtime and db backend features if you want to run migration via CLI
# "runtime-actix-native-tls",

View File

@ -10,7 +10,7 @@ entity = { path = "../entity" }
[dependencies.sea-orm]
path = "../../../" # remove this line in your own project
version = "1.0.0-rc.7" # sea-orm version
version = "~1.0.0" # sea-orm version
features = [
"debug-print",
"runtime-async-std-native-tls",

View File

@ -13,4 +13,4 @@ serde = { version = "1", features = ["derive"] }
[dependencies.sea-orm]
path = "../../../" # remove this line in your own project
version = "1.0.0-rc.7" # sea-orm version
version = "~1.0.0" # sea-orm version

View File

@ -13,7 +13,7 @@ async-std = { version = "1", features = ["attributes", "tokio1"] }
[dependencies.sea-orm-migration]
path = "../../../sea-orm-migration" # remove this line in your own project
version = "1.0.0-rc.7" # sea-orm-migration version
version = "~1.0.0" # sea-orm-migration version
features = [
# Enable following runtime and db backend features if you want to run migration via CLI
# "runtime-tokio-native-tls",

View File

@ -10,7 +10,7 @@ entity = { path = "../entity" }
[dependencies.sea-orm]
path = "../../../" # remove this line in your own project
version = "1.0.0-rc.7" # sea-orm version
version = "~1.0.0" # sea-orm version
features = [
"debug-print",
"runtime-tokio-native-tls",

View File

@ -16,4 +16,4 @@ version = "5.0.10"
[dependencies.sea-orm]
path = "../../../" # remove this line in your own project
version = "1.0.0-rc.7" # sea-orm version
version = "~1.0.0" # sea-orm version

View File

@ -14,7 +14,7 @@ async-std = { version = "1", features = ["attributes", "tokio1"] }
[dependencies.sea-orm-migration]
path = "../../../sea-orm-migration" # remove this line in your own project
version = "1.0.0-rc.7" # sea-orm-migration version
version = "~1.0.0" # sea-orm-migration version
features = [
# Enable following runtime and db backend features if you want to run migration via CLI
# "runtime-tokio-native-tls",

View File

@ -10,7 +10,7 @@ entity = { path = "../entity" }
[dependencies.sea-orm]
path = "../../../" # remove this line in your own project
version = "1.0.0-rc.7" # sea-orm version
version = "~1.0.0" # sea-orm version
features = [
"debug-print",
"runtime-async-std-native-tls",

View File

@ -13,4 +13,4 @@ serde = { version = "1", features = ["derive"] }
[dependencies.sea-orm]
path = "../../../" # remove this line in your own project
version = "1.0.0-rc.7" # sea-orm version
version = "~1.0.0" # sea-orm version

View File

@ -13,7 +13,7 @@ async-std = { version = "1", features = ["attributes", "tokio1"] }
[dependencies.sea-orm-migration]
path = "../../../sea-orm-migration" # remove this line in your own project
version = "1.0.0-rc.7" # sea-orm-migration version
version = "~1.0.0" # sea-orm-migration version
features = [
# Enable following runtime and db backend features if you want to run migration via CLI
# "runtime-tokio-native-tls",

View File

@ -10,7 +10,7 @@ entity = { path = "../entity" }
[dependencies.sea-orm]
path = "../../../" # remove this line in your own project
version = "1.0.0-rc.7" # sea-orm version
version = "~1.0.0" # sea-orm version
features = [
"debug-print",
"runtime-tokio-native-tls",

View File

@ -27,7 +27,7 @@ tracing-subscriber = { version = "0.3.17", features = ["env-filter", "json"] }
[dependencies.sea-orm]
path = "../../" # remove this line in your own project
version = "1.0.0-rc.7" # sea-orm version
version = "~1.0.0" # sea-orm version
features = [
"sqlx-sqlite",
"sqlx-postgres",

View File

@ -14,7 +14,7 @@ loco-rs = { version = "0.4" }
[dependencies.sea-orm-migration]
path = "../../../sea-orm-migration" # remove this line in your own project
version = "1.0.0-rc.7" # sea-orm-migration version
version = "~1.0.0" # sea-orm-migration version
features = [
# Enable at least one `ASYNC_RUNTIME` and `DATABASE_DRIVER` feature if you want to run migration via CLI.
# View the list of supported features at https://www.sea-ql.org/SeaORM/docs/install-and-config/database-and-async-runtime.

View File

@ -34,7 +34,7 @@ tower-service = { version = "0.3" }
[dependencies.sea-orm]
path = "../../" # remove this line in your own project
version = "1.0.0-rc.6" # sea-orm version
version = "~1.0.0" # sea-orm version
features = [
"sqlx-sqlite",
"sqlx-postgres",

View File

@ -14,7 +14,7 @@ loco-rs = { version = "0.4.0" }
[dependencies.sea-orm-migration]
path = "../../../sea-orm-migration" # remove this line in your own project
version = "1.0.0-rc.6" # sea-orm-migration version
version = "~1.0.0" # sea-orm-migration version
features = [
# Enable at least one `ASYNC_RUNTIME` and `DATABASE_DRIVER` feature if you want to run migration via CLI.
# View the list of supported features at https://www.sea-ql.org/SeaORM/docs/install-and-config/database-and-async-runtime.

View File

@ -28,7 +28,7 @@ tracing-subscriber = { version = "0.3.17", features = ["env-filter", "json"] }
[dependencies.sea-orm]
path = "../../" # remove this line in your own project
version = "1.0.0-rc.7" # sea-orm version
version = "~1.0.0" # sea-orm version
features = [
"sqlx-sqlite",
"sqlx-postgres",

View File

@ -14,7 +14,7 @@ loco-rs = { version = "0.4.0" }
[dependencies.sea-orm-migration]
path = "../../../sea-orm-migration" # remove this line in your own project
version = "1.0.0-rc.7" # sea-orm-migration version
version = "~1.0.0" # sea-orm-migration version
features = [
# Enable at least one `ASYNC_RUNTIME` and `DATABASE_DRIVER` feature if you want to run migration via CLI.
# View the list of supported features at https://www.sea-ql.org/SeaORM/docs/install-and-config/database-and-async-runtime.

View File

@ -13,4 +13,4 @@ serde = { version = "1", features = ["derive"] }
[dependencies.sea-orm]
path = "../../../" # remove this line in your own project
version = "1.0.0-rc.7" # sea-orm version
version = "~1.0.0" # sea-orm version

View File

@ -13,7 +13,7 @@ async-std = { version = "1", features = ["attributes", "tokio1"] }
[dependencies.sea-orm-migration]
path = "../../../sea-orm-migration" # remove this line in your own project
version = "1.0.0-rc.7" # sea-orm-migration version
version = "~1.0.0" # sea-orm-migration version
features = [
# Enable following runtime and db backend features if you want to run migration via CLI
# "runtime-tokio-native-tls",

View File

@ -10,7 +10,7 @@ entity = { path = "../entity" }
[dependencies.sea-orm]
path = "../../../" # remove this line in your own project
version = "1.0.0-rc.7" # sea-orm version
version = "~1.0.0" # sea-orm version
features = [
"debug-print",
"runtime-async-std-native-tls",

View File

@ -13,4 +13,4 @@ rocket = { version = "0.5.0", features = ["json"] }
[dependencies.sea-orm]
path = "../../../" # remove this line in your own project
version = "1.0.0-rc.7" # sea-orm version
version = "~1.0.0" # sea-orm version

View File

@ -14,7 +14,7 @@ async-std = { version = "1", features = ["attributes", "tokio1"] }
[dependencies.sea-orm-migration]
path = "../../../sea-orm-migration" # remove this line in your own project
version = "1.0.0-rc.7" # sea-orm-migration version
version = "~1.0.0" # sea-orm-migration version
features = [
# Enable following runtime and db backend features if you want to run migration via CLI
# "runtime-tokio-native-tls",

View File

@ -10,7 +10,7 @@ entity = { path = "../entity" }
[dependencies.sea-orm]
path = "../../../" # remove this line in your own project
version = "1.0.0-rc.7" # sea-orm version
version = "~1.0.0" # sea-orm version
features = [
"runtime-tokio-native-tls",
"sqlx-postgres",

View File

@ -13,7 +13,7 @@ rocket = { version = "0.5.0", features = ["json"] }
[dependencies.sea-orm]
path = "../../../" # remove this line in your own project
version = "1.0.0-rc.7" # sea-orm version
version = "~1.0.0" # sea-orm version
[dependencies.rocket_okapi]
version = "0.8.0"

View File

@ -14,7 +14,7 @@ async-std = { version = "1", features = ["attributes", "tokio1"] }
[dependencies.sea-orm-migration]
path = "../../../sea-orm-migration" # remove this line in your own project
version = "1.0.0-rc.7" # sea-orm-migration version
version = "~1.0.0" # sea-orm-migration version
features = [
# Enable following runtime and db backend features if you want to run migration via CLI
# "runtime-tokio-native-tls",

View File

@ -10,7 +10,7 @@ entity = { path = "../entity" }
[dependencies.sea-orm]
path = "../../../" # remove this line in your own project
version = "1.0.0-rc.7" # sea-orm version
version = "~1.0.0" # sea-orm version
features = [
"runtime-tokio-native-tls",
# "sqlx-postgres",

View File

@ -14,4 +14,4 @@ salvo = { version = "0.50" }
[dependencies.sea-orm]
path = "../../../" # remove this line in your own project
version = "1.0.0-rc.7" # sea-orm version
version = "~1.0.0" # sea-orm version

View File

@ -13,7 +13,7 @@ async-std = { version = "1", features = ["attributes", "tokio1"] }
[dependencies.sea-orm-migration]
path = "../../../sea-orm-migration" # remove this line in your own project
version = "1.0.0-rc.7" # sea-orm-migration version
version = "~1.0.0" # sea-orm-migration version
features = [
# Enable following runtime and db backend features if you want to run migration via CLI
# "runtime-tokio-native-tls",

View File

@ -10,7 +10,7 @@ entity = { path = "../entity" }
[dependencies.sea-orm]
path = "../../../" # remove this line in your own project
version = "1.0.0-rc.7" # sea-orm version
version = "~1.0.0" # sea-orm version
features = [
"debug-print",
"runtime-tokio-native-tls",

View File

@ -15,11 +15,11 @@ async-std = { version = "1", features = ["attributes", "tokio1"] }
[dependencies.sea-orm]
path = "../../../" # remove this line in your own project
version = "1.0.0-rc.7" # sea-orm version
version = "~1.0.0" # sea-orm version
[dependencies.sea-orm-migration]
path = "../../../sea-orm-migration" # remove this line in your own project
version = "1.0.0-rc.7" # sea-orm-migration version
version = "~1.0.0" # sea-orm-migration version
features = [
"runtime-async-std-native-tls",
"sqlx-mysql",

View File

@ -13,4 +13,4 @@ serde = { version = "1", features = ["derive"] }
[dependencies.sea-orm]
path = "../../../" # remove this line in your own project
version = "1.0.0-rc.7" # sea-orm version
version = "~1.0.0" # sea-orm version

View File

@ -13,7 +13,7 @@ async-std = { version = "1", features = ["attributes", "tokio1"] }
[dependencies.sea-orm-migration]
path = "../../../sea-orm-migration" # remove this line in your own project
version = "1.0.0-rc.7" # sea-orm-migration version
version = "~1.0.0" # sea-orm-migration version
features = [
# Enable following runtime and db backend features if you want to run migration via CLI
# "runtime-tokio-rustls",

View File

@ -10,7 +10,7 @@ entity = { path = "../entity" }
[dependencies.sea-orm]
path = "../../../" # remove this line in your own project
version = "1.0.0-rc.7" # sea-orm version
version = "~1.0.0" # sea-orm version
features = [
"debug-print",
"runtime-tokio-rustls",