Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(meta): bump sea-orm to 1.0 #19207

Merged
merged 5 commits into from
Nov 4, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
122 changes: 46 additions & 76 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 4 additions & 4 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -176,12 +176,12 @@ parking_lot = { version = "0.12", features = [
"arc_lock",
"deadlock_detection",
] }
sea-orm = { version = "0.12.15", features = [
"sqlx-mysql",
"sqlx-postgres",
"sqlx-sqlite",
sea-orm = { version = "~1.0", features = [
"sqlx-all",
"runtime-tokio-native-tls",
"with-uuid",
] }
sea-orm-migration = "~1.0"
sqlx = { version = "0.7.4", default-features = false, features = [
"bigdecimal",
"chrono",
Expand Down
6 changes: 2 additions & 4 deletions src/meta/model/migration/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -15,11 +15,9 @@ normal = ["workspace-hack"]

[dependencies]
async-std = { version = "1", features = ["attributes", "tokio1"] }
easy-ext = "1"
sea-orm = { workspace = true }
sea-orm-migration = { workspace = true }
serde = { version = "1", features = ["derive"] }
serde_json = "1"
uuid = { version = "1", features = ["v4"] }

[dependencies.sea-orm-migration]
version = "0.12.14"
features = ["sqlx-mysql", "sqlx-postgres", "sqlx-sqlite", "runtime-tokio-native-tls", "with-uuid"]
1 change: 1 addition & 0 deletions src/meta/model/migration/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ mod m20240820_081248_add_time_travel_per_table_epoch;
mod m20240911_083152_variable_vnode_count;
mod m20241016_065621_hummock_gc_history;
mod m20241025_062548_singleton_vnode_count;
mod utils;

pub struct Migrator;

Expand Down
Loading
Loading