Skip to content

Commit

Permalink
update examples
Browse files Browse the repository at this point in the history
  • Loading branch information
tyt2y3 committed Dec 24, 2024
1 parent a8a05f4 commit 29b7aa7
Show file tree
Hide file tree
Showing 36 changed files with 37 additions and 37 deletions.
2 changes: 1 addition & 1 deletion examples/actix_example/entity/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -13,4 +13,4 @@ serde = { version = "1", features = ["derive"] }

[dependencies.sea-orm]
path = "../../../" # remove this line in your own project
version = "~1.1.2" # sea-orm version
version = "~1.1.3" # sea-orm version
2 changes: 1 addition & 1 deletion examples/actix_example/migration/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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.1.2" # sea-orm-migration version
version = "~1.1.3" # sea-orm-migration version
features = [
# Enable following runtime and db backend features if you want to run migration via CLI
# "runtime-actix-native-tls",
Expand Down
2 changes: 1 addition & 1 deletion examples/actix_example/service/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ entity = { path = "../entity" }

[dependencies.sea-orm]
path = "../../../" # remove this line in your own project
version = "~1.1.2" # sea-orm version
version = "~1.1.3" # sea-orm version
features = [
"debug-print",
"runtime-async-std-native-tls",
Expand Down
2 changes: 1 addition & 1 deletion examples/axum_example/entity/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -13,4 +13,4 @@ serde = { version = "1", features = ["derive"] }

[dependencies.sea-orm]
path = "../../../" # remove this line in your own project
version = "~1.1.2" # sea-orm version
version = "~1.1.3" # sea-orm version
2 changes: 1 addition & 1 deletion examples/axum_example/migration/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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.1.2" # sea-orm-migration version
version = "~1.1.3" # sea-orm-migration version
features = [
# Enable following runtime and db backend features if you want to run migration via CLI
# "runtime-tokio-native-tls",
Expand Down
2 changes: 1 addition & 1 deletion examples/axum_example/service/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ entity = { path = "../entity" }

[dependencies.sea-orm]
path = "../../../" # remove this line in your own project
version = "~1.1.2" # sea-orm version
version = "~1.1.3" # sea-orm version
features = [
"debug-print",
"runtime-tokio-native-tls",
Expand Down
2 changes: 1 addition & 1 deletion examples/graphql_example/entity/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -16,4 +16,4 @@ version = "5.0.10"

[dependencies.sea-orm]
path = "../../../" # remove this line in your own project
version = "~1.1.2" # sea-orm version
version = "~1.1.3" # sea-orm version
2 changes: 1 addition & 1 deletion examples/graphql_example/migration/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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.1.2" # sea-orm-migration version
version = "~1.1.3" # sea-orm-migration version
features = [
# Enable following runtime and db backend features if you want to run migration via CLI
# "runtime-tokio-native-tls",
Expand Down
2 changes: 1 addition & 1 deletion examples/graphql_example/service/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ entity = { path = "../entity" }

[dependencies.sea-orm]
path = "../../../" # remove this line in your own project
version = "~1.1.2" # sea-orm version
version = "~1.1.3" # sea-orm version
features = [
"debug-print",
"runtime-async-std-native-tls",
Expand Down
2 changes: 1 addition & 1 deletion examples/jsonrpsee_example/entity/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -13,4 +13,4 @@ serde = { version = "1", features = ["derive"] }

[dependencies.sea-orm]
path = "../../../" # remove this line in your own project
version = "~1.1.2" # sea-orm version
version = "~1.1.3" # sea-orm version
2 changes: 1 addition & 1 deletion examples/jsonrpsee_example/migration/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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.1.2" # sea-orm-migration version
version = "~1.1.3" # sea-orm-migration version
features = [
# Enable following runtime and db backend features if you want to run migration via CLI
# "runtime-tokio-native-tls",
Expand Down
2 changes: 1 addition & 1 deletion examples/jsonrpsee_example/service/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ entity = { path = "../entity" }

[dependencies.sea-orm]
path = "../../../" # remove this line in your own project
version = "~1.1.2" # sea-orm version
version = "~1.1.3" # sea-orm version
features = [
"debug-print",
"runtime-tokio-native-tls",
Expand Down
2 changes: 1 addition & 1 deletion examples/loco_example/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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.1.2" # sea-orm version
version = "~1.1.3" # sea-orm version
features = [
"sqlx-sqlite",
"sqlx-postgres",
Expand Down
2 changes: 1 addition & 1 deletion examples/loco_example/migration/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ loco-rs = { version = "0.7" }

[dependencies.sea-orm-migration]
path = "../../../sea-orm-migration" # remove this line in your own project
version = "~1.1.2" # sea-orm-migration version
version = "~1.1.3" # 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.
Expand Down
2 changes: 1 addition & 1 deletion examples/loco_seaography/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ tower-service = { version = "0.3" }

[dependencies.sea-orm]
path = "../../" # remove this line in your own project
version = "~1.1.2" # sea-orm version
version = "~1.1.3" # sea-orm version
features = [
"sqlx-sqlite",
"sqlx-postgres",
Expand Down
2 changes: 1 addition & 1 deletion examples/loco_seaography/migration/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ loco-rs = { version = "0.7.0" }

[dependencies.sea-orm-migration]
path = "../../../sea-orm-migration" # remove this line in your own project
version = "~1.1.2" # sea-orm-migration version
version = "~1.1.3" # 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.
Expand Down
2 changes: 1 addition & 1 deletion examples/loco_starter/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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.1.2" # sea-orm version
version = "~1.1.3" # sea-orm version
features = [
"sqlx-sqlite",
"sqlx-postgres",
Expand Down
2 changes: 1 addition & 1 deletion examples/loco_starter/migration/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ loco-rs = { version = "0.7.0" }

[dependencies.sea-orm-migration]
path = "../../../sea-orm-migration" # remove this line in your own project
version = "~1.1.2" # sea-orm-migration version
version = "~1.1.3" # 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.
Expand Down
2 changes: 1 addition & 1 deletion examples/poem_example/entity/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -13,4 +13,4 @@ serde = { version = "1", features = ["derive"] }

[dependencies.sea-orm]
path = "../../../" # remove this line in your own project
version = "~1.1.2" # sea-orm version
version = "~1.1.3" # sea-orm version
2 changes: 1 addition & 1 deletion examples/poem_example/migration/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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.1.2" # sea-orm-migration version
version = "~1.1.3" # sea-orm-migration version
features = [
# Enable following runtime and db backend features if you want to run migration via CLI
# "runtime-tokio-native-tls",
Expand Down
2 changes: 1 addition & 1 deletion examples/poem_example/service/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ entity = { path = "../entity" }

[dependencies.sea-orm]
path = "../../../" # remove this line in your own project
version = "~1.1.2" # sea-orm version
version = "~1.1.3" # sea-orm version
features = [
"debug-print",
"runtime-async-std-native-tls",
Expand Down
2 changes: 1 addition & 1 deletion examples/react_admin/backend/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ tower-service = { version = "0.3" }

[dependencies.sea-orm]
path = "../../../" # remove this line in your own project
version = "~1.1.2" # sea-orm version
version = "~1.1.3" # sea-orm version
features = [
"sqlx-sqlite",
"sqlx-postgres",
Expand Down
2 changes: 1 addition & 1 deletion examples/react_admin/backend/migration/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ loco-rs = { version = "0.7.0" }

[dependencies.sea-orm-migration]
path = "../../../../sea-orm-migration" # remove this line in your own project
version = "~1.1.2" # sea-orm-migration version
version = "~1.1.3" # 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.
Expand Down
2 changes: 1 addition & 1 deletion examples/rocket_example/entity/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -13,4 +13,4 @@ rocket = { version = "0.5.0", features = ["json"] }

[dependencies.sea-orm]
path = "../../../" # remove this line in your own project
version = "~1.1.2" # sea-orm version
version = "~1.1.3" # sea-orm version
2 changes: 1 addition & 1 deletion examples/rocket_example/migration/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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.1.2" # sea-orm-migration version
version = "~1.1.3" # sea-orm-migration version
features = [
# Enable following runtime and db backend features if you want to run migration via CLI
# "runtime-tokio-native-tls",
Expand Down
2 changes: 1 addition & 1 deletion examples/rocket_example/service/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ entity = { path = "../entity" }

[dependencies.sea-orm]
path = "../../../" # remove this line in your own project
version = "~1.1.2" # sea-orm version
version = "~1.1.3" # sea-orm version
features = [
"runtime-tokio-native-tls",
"sqlx-postgres",
Expand Down
2 changes: 1 addition & 1 deletion examples/rocket_okapi_example/entity/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ rocket = { version = "0.5.0", features = ["json"] }

[dependencies.sea-orm]
path = "../../../" # remove this line in your own project
version = "~1.1.2" # sea-orm version
version = "~1.1.3" # sea-orm version

[dependencies.rocket_okapi]
version = "0.8.0"
2 changes: 1 addition & 1 deletion examples/rocket_okapi_example/migration/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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.1.2" # sea-orm-migration version
version = "~1.1.3" # sea-orm-migration version
features = [
# Enable following runtime and db backend features if you want to run migration via CLI
# "runtime-tokio-native-tls",
Expand Down
2 changes: 1 addition & 1 deletion examples/rocket_okapi_example/service/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ entity = { path = "../entity" }

[dependencies.sea-orm]
path = "../../../" # remove this line in your own project
version = "~1.1.2" # sea-orm version
version = "~1.1.3" # sea-orm version
features = [
"runtime-tokio-native-tls",
# "sqlx-postgres",
Expand Down
2 changes: 1 addition & 1 deletion examples/salvo_example/entity/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -14,4 +14,4 @@ salvo = { version = "0.50" }

[dependencies.sea-orm]
path = "../../../" # remove this line in your own project
version = "~1.1.2" # sea-orm version
version = "~1.1.3" # sea-orm version
2 changes: 1 addition & 1 deletion examples/salvo_example/migration/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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.1.2" # sea-orm-migration version
version = "~1.1.3" # sea-orm-migration version
features = [
# Enable following runtime and db backend features if you want to run migration via CLI
# "runtime-tokio-native-tls",
Expand Down
2 changes: 1 addition & 1 deletion examples/salvo_example/service/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ entity = { path = "../entity" }

[dependencies.sea-orm]
path = "../../../" # remove this line in your own project
version = "~1.1.2" # sea-orm version
version = "~1.1.3" # sea-orm version
features = [
"debug-print",
"runtime-tokio-native-tls",
Expand Down
4 changes: 2 additions & 2 deletions examples/seaography_example/migration/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -15,11 +15,11 @@ async-std = { version = "1", features = ["attributes", "tokio1"] }

[dependencies.sea-orm]
path = "../../../" # remove this line in your own project
version = "~1.1.2" # sea-orm version
version = "~1.1.3" # sea-orm version

[dependencies.sea-orm-migration]
path = "../../../sea-orm-migration" # remove this line in your own project
version = "~1.1.2" # sea-orm-migration version
version = "~1.1.3" # sea-orm-migration version
features = [
"runtime-async-std-native-tls",
"sqlx-mysql",
Expand Down
2 changes: 1 addition & 1 deletion examples/tonic_example/entity/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -13,4 +13,4 @@ serde = { version = "1", features = ["derive"] }

[dependencies.sea-orm]
path = "../../../" # remove this line in your own project
version = "~1.1.2" # sea-orm version
version = "~1.1.3" # sea-orm version
2 changes: 1 addition & 1 deletion examples/tonic_example/migration/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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.1.2" # sea-orm-migration version
version = "~1.1.3" # sea-orm-migration version
features = [
# Enable following runtime and db backend features if you want to run migration via CLI
# "runtime-tokio-rustls",
Expand Down
2 changes: 1 addition & 1 deletion examples/tonic_example/service/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ entity = { path = "../entity" }

[dependencies.sea-orm]
path = "../../../" # remove this line in your own project
version = "~1.1.2" # sea-orm version
version = "~1.1.3" # sea-orm version
features = [
"debug-print",
"runtime-tokio-rustls",
Expand Down

0 comments on commit 29b7aa7

Please sign in to comment.