Skip to content

Commit

Permalink
Refactoring
Browse files Browse the repository at this point in the history
  • Loading branch information
billy1624 committed Feb 7, 2022
1 parent faf706a commit a389efe
Show file tree
Hide file tree
Showing 8 changed files with 8 additions and 20 deletions.
2 changes: 1 addition & 1 deletion examples/actix4_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 = { version = "0.5.0", default-features = false, features = [ "migration", "debug-print" ] }
sea-schema = { version = "^0.5.0", default-features = false, features = [ "migration", "debug-print" ] }
entity = { path = "../entity" }
Original file line number Diff line number Diff line change
@@ -1,8 +1,5 @@
use entity::post::*;
use sea_schema::migration::{
sea_query::{self, *},
*,
};
use sea_schema::migration::prelude::*;

pub struct Migration;

Expand Down
2 changes: 1 addition & 1 deletion examples/actix_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 = { version = "0.5.0", default-features = false, features = [ "migration", "debug-print" ] }
sea-schema = { version = "^0.5.0", default-features = false, features = [ "migration", "debug-print" ] }
entity = { path = "../entity" }
Original file line number Diff line number Diff line change
@@ -1,8 +1,5 @@
use entity::post::*;
use sea_schema::migration::{
sea_query::{self, *},
*,
};
use sea_schema::migration::prelude::*;

pub struct Migration;

Expand Down
2 changes: 1 addition & 1 deletion examples/axum_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 = { version = "0.5.0", default-features = false, features = [ "migration", "debug-print" ] }
sea-schema = { version = "^0.5.0", default-features = false, features = [ "migration", "debug-print" ] }
entity = { path = "../entity" }
Original file line number Diff line number Diff line change
@@ -1,8 +1,5 @@
use entity::post::*;
use sea_schema::migration::{
sea_query::{self, *},
*,
};
use sea_schema::migration::prelude::*;

pub struct Migration;

Expand Down
2 changes: 1 addition & 1 deletion examples/poem_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 = { version = "0.5.0", default-features = false, features = [ "migration", "debug-print" ] }
sea-schema = { version = "^0.5.0", default-features = false, features = [ "migration", "debug-print" ] }
entity = { path = "../entity" }
Original file line number Diff line number Diff line change
@@ -1,8 +1,5 @@
use entity::post::*;
use sea_schema::migration::{
sea_query::{self, *},
*,
};
use sea_schema::migration::prelude::*;

pub struct Migration;

Expand Down

0 comments on commit a389efe

Please sign in to comment.