Skip to content

Commit

Permalink
chore: update version to 0.15.0
Browse files Browse the repository at this point in the history
Signed-off-by: Saurav Sharma <[email protected]>
  • Loading branch information
iamsauravsharma committed Aug 19, 2024
1 parent 17cd78c commit 69e7ed2
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 8 deletions.
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "sqlx_migrator"
version = "0.14.0"
version = "0.15.0"
edition = "2021"
authors = ["Saurav Sharma <[email protected]>"]
homepage = "https://github.com/iamsauravsharma/sqlx_migrator"
Expand Down
8 changes: 4 additions & 4 deletions README.MD
Original file line number Diff line number Diff line change
Expand Up @@ -18,25 +18,25 @@ Supported Databases:
Add `sqlx_migrator` to your `Cargo.toml` with the appropriate database feature:

```toml
sqlx_migrator = { version = "0.14.0", features=["postgres"] }
sqlx_migrator = { version = "0.15.0", features=["postgres"] }
```

OR

```toml
sqlx_migrator = { version = "0.14.0", features=["mysql"] }
sqlx_migrator = { version = "0.15.0", features=["mysql"] }
```

OR

```toml
sqlx_migrator = { version = "0.14.0", features=["sqlite"] }
sqlx_migrator = { version = "0.15.0", features=["sqlite"] }
```

OR

```toml
sqlx_migrator = { version = "0.14.0", features=[
sqlx_migrator = { version = "0.15.0", features=[
"any",
# Plus any one of above database driver
] }
Expand Down
6 changes: 3 additions & 3 deletions src/migrator/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -427,9 +427,9 @@ fn only_related_migration<DB, State>(
) {
let mut related_migrations = vec![];
for with in with_list {
// check if with migrations is already added or not sometimes with list contains
// migrations which are interrelated so we do not need to add already added
// migration again
// check if with migrations is already added or not. Sometimes with list
// contains migrations which are interrelated so we do not need to add
// already added migration again
if !related_migrations.contains(&with) {
related_migrations.push(with);
match plan_type {
Expand Down

0 comments on commit 69e7ed2

Please sign in to comment.