diff --git a/crates/yaak-models/build.rs b/crates/yaak-models/build.rs new file mode 100644 index 00000000..157d24d4 --- /dev/null +++ b/crates/yaak-models/build.rs @@ -0,0 +1,5 @@ +fn main() { + // Migrations are embedded with include_dir!, so trigger rebuilds when SQL files change. + println!("cargo:rerun-if-changed=migrations"); + println!("cargo:rerun-if-changed=blob_migrations"); +} diff --git a/crates/yaak-models/migrations/20260217000000_remove-legacy-faker-plugin.sql b/crates/yaak-models/migrations/20260217000000_remove-legacy-faker-plugin.sql new file mode 100644 index 00000000..fe5b5d93 --- /dev/null +++ b/crates/yaak-models/migrations/20260217000000_remove-legacy-faker-plugin.sql @@ -0,0 +1,3 @@ +-- Remove stale plugin rows left over from the brief period when faker shipped as bundled. +DELETE FROM plugins +WHERE directory LIKE '%template-function-faker';