refactor(db): add sqlx-migrate-validate and optimize backup logic #3620
46.85% of diff hit (target 75.00%)
View this Pull Request on Codecov
46.85% of diff hit (target 75.00%)
Annotations
Check warning on line 3 in crates/sqlx-migrate-validate/src/error.rs
codecov / codecov/patch
crates/sqlx-migrate-validate/src/error.rs#L3
Added line #L3 was not covered by tests
Check warning on line 109 in crates/sqlx-migrate-validate/src/validate.rs
codecov / codecov/patch
crates/sqlx-migrate-validate/src/validate.rs#L104-L109
Added lines #L104 - L109 were not covered by tests
Check warning on line 113 in crates/sqlx-migrate-validate/src/validate.rs
codecov / codecov/patch
crates/sqlx-migrate-validate/src/validate.rs#L113
Added line #L113 was not covered by tests
Check warning on line 144 in crates/sqlx-migrate-validate/src/validate.rs
codecov / codecov/patch
crates/sqlx-migrate-validate/src/validate.rs#L138-L144
Added lines #L138 - L144 were not covered by tests
Check warning on line 153 in crates/sqlx-migrate-validate/src/validate.rs
codecov / codecov/patch
crates/sqlx-migrate-validate/src/validate.rs#L146-L153
Added lines #L146 - L153 were not covered by tests
Check warning on line 158 in crates/sqlx-migrate-validate/src/validate.rs
codecov / codecov/patch
crates/sqlx-migrate-validate/src/validate.rs#L155-L158
Added lines #L155 - L158 were not covered by tests
Check warning on line 161 in crates/sqlx-migrate-validate/src/validate.rs
codecov / codecov/patch
crates/sqlx-migrate-validate/src/validate.rs#L160-L161
Added lines #L160 - L161 were not covered by tests
Check warning on line 166 in crates/sqlx-migrate-validate/src/validate.rs
codecov / codecov/patch
crates/sqlx-migrate-validate/src/validate.rs#L163-L166
Added lines #L163 - L166 were not covered by tests
Check warning on line 179 in crates/sqlx-migrate-validate/src/validate.rs
codecov / codecov/patch
crates/sqlx-migrate-validate/src/validate.rs#L168-L179
Added lines #L168 - L179 were not covered by tests
Check warning on line 182 in crates/sqlx-migrate-validate/src/validate.rs
codecov / codecov/patch
crates/sqlx-migrate-validate/src/validate.rs#L182
Added line #L182 was not covered by tests
Check warning on line 192 in crates/sqlx-migrate-validate/src/validate.rs
codecov / codecov/patch
crates/sqlx-migrate-validate/src/validate.rs#L190-L192
Added lines #L190 - L192 were not covered by tests
Check warning on line 195 in crates/sqlx-migrate-validate/src/validate.rs
codecov / codecov/patch
crates/sqlx-migrate-validate/src/validate.rs#L194-L195
Added lines #L194 - L195 were not covered by tests
Check warning on line 205 in crates/sqlx-migrate-validate/src/validate.rs
codecov / codecov/patch
crates/sqlx-migrate-validate/src/validate.rs#L199-L205
Added lines #L199 - L205 were not covered by tests
Check warning on line 211 in crates/sqlx-migrate-validate/src/validate.rs
codecov / codecov/patch
crates/sqlx-migrate-validate/src/validate.rs#L209-L211
Added lines #L209 - L211 were not covered by tests
Check warning on line 221 in crates/sqlx-migrate-validate/src/validate.rs
codecov / codecov/patch
crates/sqlx-migrate-validate/src/validate.rs#L219-L221
Added lines #L219 - L221 were not covered by tests
Check warning on line 280 in crates/sqlx-migrate-validate/src/validate.rs
codecov / codecov/patch
crates/sqlx-migrate-validate/src/validate.rs#L280
Added line #L280 was not covered by tests
Check warning on line 308 in crates/sqlx-migrate-validate/src/validate.rs
codecov / codecov/patch
crates/sqlx-migrate-validate/src/validate.rs#L308
Added line #L308 was not covered by tests
Check warning on line 159 in ee/tabby-db/src/lib.rs
codecov / codecov/patch
ee/tabby-db/src/lib.rs#L159
Added line #L159 was not covered by tests
Check warning on line 167 in ee/tabby-db/src/lib.rs
codecov / codecov/patch
ee/tabby-db/src/lib.rs#L167
Added line #L167 was not covered by tests
Check warning on line 174 in ee/tabby-db/src/lib.rs
codecov / codecov/patch
ee/tabby-db/src/lib.rs#L170-L174
Added lines #L170 - L174 were not covered by tests
Check warning on line 179 in ee/tabby-db/src/lib.rs
codecov / codecov/patch
ee/tabby-db/src/lib.rs#L177-L179
Added lines #L177 - L179 were not covered by tests