update examples

This commit is contained in:
Billy Chan 2024-05-03 16:06:59 +08:00
parent 0798bf2037
commit 4693fc125b
No known key found for this signature in database
GPG Key ID: 45461E52F22E0279
30 changed files with 31 additions and 31 deletions

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

@ -14,7 +14,7 @@ loco-rs = { version = "0.4" }
[dependencies.sea-orm-migration] [dependencies.sea-orm-migration]
path = "../../../sea-orm-migration" # remove this line in your own project path = "../../../sea-orm-migration" # remove this line in your own project
version = "1.0.0-rc.3" # sea-orm-migration version version = "1.0.0-rc.4" # sea-orm-migration version
features = [ features = [
# Enable at least one `ASYNC_RUNTIME` and `DATABASE_DRIVER` feature if you want to run migration via CLI. # 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 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] [dependencies.sea-orm]
path = "../../../" # remove this line in your own project path = "../../../" # remove this line in your own project
version = "1.0.0-rc.3" # sea-orm version version = "1.0.0-rc.4" # sea-orm version

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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