chir.rs/chir-rs-db/build.rs

6 lines
221 B
Rust

//! Ensures that migration additions force a rebuild
// generated by `sqlx migrate build-script`
fn main() {
// trigger recompilation when a new migration is added
println!("cargo:rerun-if-changed=migrations");
}