Track embedded migrations and verify the deployed schema and binary

This commit is contained in:
2026-11-17 15:52:39 +01:00
parent 77c747fc82
commit 689f326460
3 changed files with 185 additions and 2 deletions
+4
View File
@@ -0,0 +1,4 @@
fn main() {
// sqlx embeds migrations. Cargo must also notice newly added SQL files.
println!("cargo:rerun-if-changed=../../migrations");
}