From 175b47b4f4babf693cb1760fc8fcb5c3b5ed5b10 Mon Sep 17 00:00:00 2001 From: Bilal Godil Date: Tue, 26 May 2026 18:46:37 -0700 Subject: [PATCH] chore(db): drop internal-project rename migration Removes the data migration that renamed the internal Project row's displayName/description from 'Stack Dashboard' to 'Hexclave Dashboard'. Fresh installs still get the new name via seed.ts; existing deployments will keep the old strings until renamed by hand or in a later PR. --- .../migration.sql | 14 -------------- 1 file changed, 14 deletions(-) delete mode 100644 apps/backend/prisma/migrations/20260523000000_rename_internal_project_to_hexclave/migration.sql diff --git a/apps/backend/prisma/migrations/20260523000000_rename_internal_project_to_hexclave/migration.sql b/apps/backend/prisma/migrations/20260523000000_rename_internal_project_to_hexclave/migration.sql deleted file mode 100644 index b7e56ea2e..000000000 --- a/apps/backend/prisma/migrations/20260523000000_rename_internal_project_to_hexclave/migration.sql +++ /dev/null @@ -1,14 +0,0 @@ --- Rebrand: rename the internal-project display name and description from --- "Stack Dashboard" / "Stack's admin dashboard" to "Hexclave Dashboard" / --- "Hexclave's admin dashboard". Idempotent: only updates the row if it still --- holds the pre-rebrand defaults for BOTH fields, so any operator who renamed --- the internal project themselves (or even just one field) is left untouched. --- Re-running the migration after the rename is a no-op. Missing row (fresh --- install before seed) is also a no-op. - -UPDATE "Project" -SET "displayName" = 'Hexclave Dashboard', - "description" = 'Hexclave''s admin dashboard' -WHERE "id" = 'internal' - AND "displayName" = 'Stack Dashboard' - AND "description" = 'Stack''s admin dashboard';