diff --git a/migrations/migrations/R__reset-templates.sql b/migrations/migrations/R__reset-templates.sql new file mode 100644 index 000000000..d0aa25ead --- /dev/null +++ b/migrations/migrations/R__reset-templates.sql @@ -0,0 +1,14 @@ +--------------------- +-- Resets the CDOGS template hashes on every migration to ensure we always upload a new one +-- +-- The last line of the comment is where the magic happens, it will refresh the date - +-- even if no changes are made. +-- +-- Last Run on: ${flyway:timestamp} +---------------------- + +UPDATE "configuration" +SET + configuration_value = '' +WHERE + configuration_code IN ('ERSTMPLATE', 'HWCTMPLATE'); \ No newline at end of file