chore(migrations): apply single migration

This commit is contained in:
Mauricio Siu 2024-09-22 01:00:19 -06:00
parent 906906102b
commit f7e43fa1c1
7 changed files with 8 additions and 7671 deletions

View File

@ -6,7 +6,7 @@ CREATE TABLE IF NOT EXISTS "server" (
"port" integer NOT NULL,
"username" text DEFAULT 'root' NOT NULL,
"appName" text NOT NULL,
"redisPassword" text DEFAULT 'xYBugfHkULig1iLN' NOT NULL,
"enableDockerCleanup" boolean DEFAULT false NOT NULL,
"createdAt" text NOT NULL,
"adminId" text NOT NULL,
"sshKeyId" text

View File

@ -1,2 +0,0 @@
ALTER TABLE "server" ADD COLUMN "enableDockerCleanup" boolean DEFAULT false NOT NULL;--> statement-breakpoint
ALTER TABLE "server" DROP COLUMN IF EXISTS "redisPassword";

View File

@ -1 +0,0 @@
ALTER TABLE "server" ALTER COLUMN "enableDockerCleanup" DROP NOT NULL;

View File

@ -1,5 +1,5 @@
{
"id": "8a72c5cc-bc93-4cd4-a129-6e86a7889b89",
"id": "19a70a39-f719-400b-b61e-6ddf1bcc6ac5",
"prevId": "74cd1475-b79c-4226-b4e6-e5ddb9576025",
"version": "6",
"dialect": "postgresql",
@ -3601,12 +3601,12 @@
"primaryKey": false,
"notNull": true
},
"redisPassword": {
"name": "redisPassword",
"type": "text",
"enableDockerCleanup": {
"name": "enableDockerCleanup",
"type": "boolean",
"primaryKey": false,
"notNull": true,
"default": "'xYBugfHkULig1iLN'"
"default": false
},
"createdAt": {
"name": "createdAt",

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

View File

@ -264,22 +264,8 @@
{
"idx": 37,
"version": "6",
"when": 1726462845274,
"tag": "0037_quick_callisto",
"breakpoints": true
},
{
"idx": 38,
"version": "6",
"when": 1726962608998,
"tag": "0038_normal_spiral",
"breakpoints": true
},
{
"idx": 39,
"version": "6",
"when": 1726962717256,
"tag": "0039_cultured_norrin_radd",
"when": 1726988289562,
"tag": "0037_legal_namor",
"breakpoints": true
}
]