Skip to content

Commit

Permalink
Try restructured sea-query dependency (SeaQL/sea-schema#41)
Browse files Browse the repository at this point in the history
  • Loading branch information
billy1624 committed Feb 3, 2022
1 parent 603b0ef commit 1770ce3
Show file tree
Hide file tree
Showing 6 changed files with 12 additions and 6 deletions.
2 changes: 1 addition & 1 deletion examples/rocket_example/migration/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -9,5 +9,5 @@ name = "migration"
path = "src/lib.rs"

[dependencies]
sea-schema = { git = "https://github.com/SeaQL/sea-schema.git", branch = "schema-manager", default-features = false, features = [ "migration", "debug-print" ] }
sea-schema = { git = "https://github.com/SeaQL/sea-schema.git", branch = "restructure-sea-query-dep", default-features = false, features = [ "migration", "debug-print" ] }
entity = { path = "../entity" }
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
use entity::post::*;
use sea_schema::{migration::*, sea_query::*};
use sea_schema::migration::{
sea_query::{self, *},
*,
};

pub struct Migration;

Expand Down
2 changes: 1 addition & 1 deletion sea-orm-cli/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ clap = { version = "^2.33.3" }
dotenv = { version = "^0.15" }
async-std = { version = "^1.9", features = [ "attributes", "tokio1" ] }
sea-orm-codegen = { version = "^0.5.0", path = "../sea-orm-codegen" }
sea-schema = { git = "https://github.com/SeaQL/sea-schema.git", branch = "schema-manager", default-features = false, features = [
sea-schema = { git = "https://github.com/SeaQL/sea-schema.git", branch = "restructure-sea-query-dep", default-features = false, features = [
"debug-print",
"sqlx-mysql",
"sqlx-sqlite",
Expand Down
2 changes: 1 addition & 1 deletion sea-orm-cli/template/migration/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -9,4 +9,4 @@ name = "migration"
path = "src/lib.rs"

[dependencies]
sea-schema = { git = "https://github.com/SeaQL/sea-schema.git", branch = "schema-manager", default-features = false, features = [ "migration", "debug-print" ] }
sea-schema = { git = "https://github.com/SeaQL/sea-schema.git", branch = "restructure-sea-query-dep", default-features = false, features = [ "migration", "debug-print" ] }
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
use sea_schema::{migration::*, sea_query::*};
use sea_schema::migration::{
sea_query::{self, *},
*,
};

pub struct Migration;

Expand Down
2 changes: 1 addition & 1 deletion sea-orm-codegen/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ name = "sea_orm_codegen"
path = "src/lib.rs"

[dependencies]
sea-query = { version = "0.20.0" }
sea-query = { version = "0.21.0" }
syn = { version = "^1", default-features = false, features = [
"derive",
"parsing",
Expand Down

0 comments on commit 1770ce3

Please sign in to comment.