database_pool: rebuild on new migration
This commit is contained in:
parent
f949f7606d
commit
55fd5565d7
1 changed files with 5 additions and 0 deletions
5
crates/database_pool/build.rs
Normal file
5
crates/database_pool/build.rs
Normal file
|
|
@ -0,0 +1,5 @@
|
||||||
|
// generated by `sqlx migrate build-script`
|
||||||
|
fn main() {
|
||||||
|
// trigger recompilation when a new migration is added
|
||||||
|
println!("cargo:rerun-if-changed=migrations");
|
||||||
|
}
|
||||||
Loading…
Add table
Add a link
Reference in a new issue