You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: apps/dokploy/drizzle/0066_yielding_echo.sql
+9-4Lines changed: 9 additions & 4 deletions
Original file line number
Diff line number
Diff line change
@@ -147,10 +147,15 @@ CREATE TABLE "apikey" (
147
147
"metadata"text
148
148
);
149
149
--> statement-breakpoint
150
-
ALTERTABLE"certificate" ALTER COLUMN "adminId"SETNOT NULL;--> statement-breakpoint
151
-
ALTERTABLE"notification" ALTER COLUMN "adminId"SETNOT NULL;--> statement-breakpoint
152
-
ALTERTABLE"ssh-key" ALTER COLUMN "adminId"SETNOT NULL;--> statement-breakpoint
153
-
ALTERTABLE"git_provider" ALTER COLUMN "adminId"SETNOT NULL;--> statement-breakpoint
150
+
DELETEFROM"certificate"WHERE"adminId" IS NULL;
151
+
DELETEFROM"notification"WHERE"adminId" IS NULL;
152
+
DELETEFROM"ssh-key"WHERE"adminId" IS NULL;
153
+
DELETEFROM"git_provider"WHERE"adminId" IS NULL;
154
+
155
+
ALTERTABLE"certificate" ALTER COLUMN "adminId"SETNOT NULL ;--> statement-breakpoint
156
+
ALTERTABLE"notification" ALTER COLUMN "adminId"SETNOT NULL ;--> statement-breakpoint
157
+
ALTERTABLE"ssh-key" ALTER COLUMN "adminId"SETNOT NULL ;--> statement-breakpoint
158
+
ALTERTABLE"git_provider" ALTER COLUMN "adminId"SETNOT NULL ;--> statement-breakpoint
154
159
ALTERTABLE"session_temp" ADD CONSTRAINT"session_temp_user_id_user_temp_id_fk"FOREIGN KEY ("user_id") REFERENCES"public"."user_temp"("id") ON DELETE no action ONUPDATE no action;--> statement-breakpoint
155
160
ALTERTABLE"account" ADD CONSTRAINT"account_user_id_user_temp_id_fk"FOREIGN KEY ("user_id") REFERENCES"public"."user_temp"("id") ON DELETE no action ONUPDATE no action;--> statement-breakpoint
156
161
ALTERTABLE"invitation" ADD CONSTRAINT"invitation_organization_id_organization_id_fk"FOREIGN KEY ("organization_id") REFERENCES"public"."organization"("id") ON DELETE no action ONUPDATE no action;--> statement-breakpoint
0 commit comments