Skip to content

Commit

Permalink
chore(meta): bump sea-orm to 1.0 (#19207)
Browse files Browse the repository at this point in the history
Signed-off-by: Bugen Zhao <[email protected]>
  • Loading branch information
BugenZhao authored Nov 4, 2024
1 parent 271faac commit f559d34
Show file tree
Hide file tree
Showing 27 changed files with 187 additions and 139 deletions.
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 @@ -175,12 +175,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

0 comments on commit f559d34

Please sign in to comment.