revert: UI version removal (#2756)

* revert: UI version removal

* Apply suggestion from @Copilot

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>

---------

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
This commit is contained in:
abelanger5
2026-01-06 14:16:42 -05:00
committed by GitHub
parent 4dda2b2884
commit 6920ec1b61
5 changed files with 97 additions and 22 deletions
+6
View File
@@ -596,6 +596,11 @@ CREATE TYPE "TenantMajorEngineVersion" AS ENUM (
'V1'
);
CREATE TYPE "TenantMajorUIVersion" AS ENUM (
'V0',
'V1'
);
-- CreateTable
CREATE TABLE "Tenant" (
"id" UUID NOT NULL,
@@ -603,6 +608,7 @@ CREATE TABLE "Tenant" (
"updatedAt" TIMESTAMP(3) NOT NULL DEFAULT CURRENT_TIMESTAMP,
"deletedAt" TIMESTAMP(3),
"version" "TenantMajorEngineVersion" NOT NULL DEFAULT 'V1',
"uiVersion" "TenantMajorUIVersion" NOT NULL DEFAULT 'V0',
"name" TEXT NOT NULL,
"slug" TEXT NOT NULL,
"analyticsOptOut" BOOLEAN NOT NULL DEFAULT false,