From 090a69fd3fba384385bf728e7f092e7328702665 Mon Sep 17 00:00:00 2001 From: mirdono Date: Thu, 9 Jan 2025 19:31:12 +0100 Subject: [PATCH] feat: allow local migrations that trigger indexing Support for environment-local migrations that trigger indexing. This is similar to the local migrations for the regular `migrations` service. --- .gitignore | 1 + config/migrations-triggering-indexing/local/.gitkeep | 0 config/migrations-triggering-indexing/local/README.md | 3 +++ 3 files changed, 4 insertions(+) create mode 100644 config/migrations-triggering-indexing/local/.gitkeep create mode 100644 config/migrations-triggering-indexing/local/README.md diff --git a/.gitignore b/.gitignore index 2ec899d..a06be4d 100644 --- a/.gitignore +++ b/.gitignore @@ -20,6 +20,7 @@ docker-compose.override.yml /config/migrations/private-data/* /config/migrations/local/* +/config/migrations-triggering-indexing/local/* /config/proxy/nginx.htpasswd diff --git a/config/migrations-triggering-indexing/local/.gitkeep b/config/migrations-triggering-indexing/local/.gitkeep new file mode 100644 index 0000000..e69de29 diff --git a/config/migrations-triggering-indexing/local/README.md b/config/migrations-triggering-indexing/local/README.md new file mode 100644 index 0000000..6bf75c7 --- /dev/null +++ b/config/migrations-triggering-indexing/local/README.md @@ -0,0 +1,3 @@ +# Motivation + +This folder is designed to contain migration files specific to a specific deployed instance of the app. These files will be ignored by git. The typical use case for this folder includes migrations containing sensitive data or those related to a re-sync of consumers. Migrations that should be applied to all instances of the app should be stored outside of this folder, but within the 'migrations-triggering-indexing' folder.