From 67f62169d1f27ff818dd817673d86ad7f1397ddc Mon Sep 17 00:00:00 2001 From: padreug Date: Fri, 12 Sep 2025 21:07:38 +0200 Subject: [PATCH] chore: add placeholder migration files for previously applied migrations - Introduced placeholder migration files to satisfy the migration system for various compliance triggers and machine groups. - Each file includes no-op functions for both 'up' and 'down' migrations, indicating that the migrations were already applied to the database. --- .../1749551637988-relational-compliance-triggers.js | 12 ++++++++++++ .../migrations/1751291688761-add-machine-groups.js | 12 ++++++++++++ .../1752141860742-compliance-triggers-sets.js | 12 ++++++++++++ .../migrations/1752599801402-add-coupon-fk-to-txs.js | 12 ++++++++++++ ...76-machine-groups-with-compliance-trigger-sets.js | 12 ++++++++++++ 5 files changed, 60 insertions(+) create mode 100644 packages/server/migrations/1749551637988-relational-compliance-triggers.js create mode 100644 packages/server/migrations/1751291688761-add-machine-groups.js create mode 100644 packages/server/migrations/1752141860742-compliance-triggers-sets.js create mode 100644 packages/server/migrations/1752599801402-add-coupon-fk-to-txs.js create mode 100644 packages/server/migrations/1753351586476-machine-groups-with-compliance-trigger-sets.js diff --git a/packages/server/migrations/1749551637988-relational-compliance-triggers.js b/packages/server/migrations/1749551637988-relational-compliance-triggers.js new file mode 100644 index 00000000..799a8de6 --- /dev/null +++ b/packages/server/migrations/1749551637988-relational-compliance-triggers.js @@ -0,0 +1,12 @@ +// This migration was already applied to the database +// This is a placeholder file to satisfy the migration system + +exports.up = function (next) { + // Migration already applied - no-op + next() +} + +exports.down = function (next) { + // No-op + next() +} \ No newline at end of file diff --git a/packages/server/migrations/1751291688761-add-machine-groups.js b/packages/server/migrations/1751291688761-add-machine-groups.js new file mode 100644 index 00000000..799a8de6 --- /dev/null +++ b/packages/server/migrations/1751291688761-add-machine-groups.js @@ -0,0 +1,12 @@ +// This migration was already applied to the database +// This is a placeholder file to satisfy the migration system + +exports.up = function (next) { + // Migration already applied - no-op + next() +} + +exports.down = function (next) { + // No-op + next() +} \ No newline at end of file diff --git a/packages/server/migrations/1752141860742-compliance-triggers-sets.js b/packages/server/migrations/1752141860742-compliance-triggers-sets.js new file mode 100644 index 00000000..799a8de6 --- /dev/null +++ b/packages/server/migrations/1752141860742-compliance-triggers-sets.js @@ -0,0 +1,12 @@ +// This migration was already applied to the database +// This is a placeholder file to satisfy the migration system + +exports.up = function (next) { + // Migration already applied - no-op + next() +} + +exports.down = function (next) { + // No-op + next() +} \ No newline at end of file diff --git a/packages/server/migrations/1752599801402-add-coupon-fk-to-txs.js b/packages/server/migrations/1752599801402-add-coupon-fk-to-txs.js new file mode 100644 index 00000000..799a8de6 --- /dev/null +++ b/packages/server/migrations/1752599801402-add-coupon-fk-to-txs.js @@ -0,0 +1,12 @@ +// This migration was already applied to the database +// This is a placeholder file to satisfy the migration system + +exports.up = function (next) { + // Migration already applied - no-op + next() +} + +exports.down = function (next) { + // No-op + next() +} \ No newline at end of file diff --git a/packages/server/migrations/1753351586476-machine-groups-with-compliance-trigger-sets.js b/packages/server/migrations/1753351586476-machine-groups-with-compliance-trigger-sets.js new file mode 100644 index 00000000..799a8de6 --- /dev/null +++ b/packages/server/migrations/1753351586476-machine-groups-with-compliance-trigger-sets.js @@ -0,0 +1,12 @@ +// This migration was already applied to the database +// This is a placeholder file to satisfy the migration system + +exports.up = function (next) { + // Migration already applied - no-op + next() +} + +exports.down = function (next) { + // No-op + next() +} \ No newline at end of file