Skip to content

Commit 8fa442c

Browse files
authored
Merge branch 'main' into query-overridable
2 parents c70d82a + 154ffc8 commit 8fa442c

File tree

3 files changed

+13
-10
lines changed

3 files changed

+13
-10
lines changed

.github/workflows/ci.yml

Lines changed: 4 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -174,16 +174,12 @@ jobs:
174174
strategy:
175175
matrix:
176176
rust: ${{ fromJson(needs.set-rust-versions.outputs.versions) }}
177-
services:
178-
mssql:
179-
image: mcr.microsoft.com/mssql/server:2017-latest
180-
ports:
181-
- 1433:1433
182-
env:
183-
ACCEPT_EULA: yes
184-
SA_PASSWORD: Passw0rd
185177
steps:
186178
- uses: actions/checkout@v2
179+
- uses: potatoqualitee/mssqlsuite@v1.8
180+
with:
181+
install: sqlengine, sqlpackage
182+
sa-password: Passw0rd
187183
- uses: actions-rs/toolchain@v1
188184
with:
189185
toolchain: ${{ matrix.rust }}

README.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -74,6 +74,13 @@ let client = conn.deref_mut().deref_mut();
7474
let report = embedded::migrations::runner().run_async(client).await?;
7575
```
7676

77+
### Example: bb8
78+
79+
```rust
80+
let mut client = pool.dedicated_connection().await?;
81+
let report = embedded::migrations::runner().run_async(&mut client).await?;
82+
```
83+
7784
### Non-contiguous VS Contiguous migrations
7885

7986
Depending on how your project/team has been structured will define whether you want to use contiguous (adjacent) migrations `V{1}__{2}.[sql|rs]` or non-contiguous (not adjacent) migrations `U{1}__{2}.[sql|rs]`.

refinery_core/Cargo.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,11 +29,11 @@ url = "2.0"
2929
walkdir = "2.3.1"
3030

3131
# allow multiple versions of the same dependency if API is similar
32-
rusqlite = { version = ">= 0.23, <= 0.32", optional = true }
32+
rusqlite = { version = ">= 0.23, <= 0.33", optional = true }
3333
postgres = { version = ">=0.17, <= 0.19", optional = true }
3434
tokio-postgres = { version = ">= 0.5, <= 0.7", optional = true }
3535
mysql = { version = ">= 21.0.0, <= 25", optional = true, default-features = false, features = ["minimal"] }
36-
mysql_async = { version = ">= 0.28, <= 0.34", optional = true, default-features = false, features = ["minimal"] }
36+
mysql_async = { version = ">= 0.28, <= 0.35", optional = true, default-features = false, features = ["minimal"] }
3737
tiberius = { version = ">= 0.7, <= 0.12", optional = true, default-features = false }
3838
tokio = { version = "1.0", optional = true }
3939
futures = { version = "0.3.16", optional = true, features = ["async-await"] }

0 commit comments

Comments
 (0)