mirror of
https://github.com/Dokploy/dokploy
synced 2025-06-26 18:27:59 +00:00
chore: remove rollback-related SQL files and snapshots
- Deleted SQL files for rollback table and related schema changes. - Removed corresponding snapshot files to clean up the database schema history.
This commit is contained in:
@@ -1,13 +0,0 @@
|
|||||||
CREATE TABLE "rollback" (
|
|
||||||
"rollbackId" text PRIMARY KEY NOT NULL,
|
|
||||||
"env" text,
|
|
||||||
"applicationId" text NOT NULL,
|
|
||||||
"id" serial NOT NULL,
|
|
||||||
"image" text,
|
|
||||||
"enabled" boolean DEFAULT true NOT NULL,
|
|
||||||
"createdAt" text NOT NULL
|
|
||||||
);
|
|
||||||
--> statement-breakpoint
|
|
||||||
ALTER TABLE "application" ADD COLUMN "rollbackActive" boolean DEFAULT false;--> statement-breakpoint
|
|
||||||
ALTER TABLE "application" ADD COLUMN "limitRollback" integer DEFAULT 5;--> statement-breakpoint
|
|
||||||
ALTER TABLE "rollback" ADD CONSTRAINT "rollback_applicationId_application_applicationId_fk" FOREIGN KEY ("applicationId") REFERENCES "public"."application"("applicationId") ON DELETE cascade ON UPDATE no action;
|
|
||||||
@@ -1 +0,0 @@
|
|||||||
ALTER TABLE "rollback" RENAME COLUMN "id" TO "version";
|
|
||||||
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
@@ -645,20 +645,6 @@
|
|||||||
"when": 1746518402168,
|
"when": 1746518402168,
|
||||||
"tag": "0091_spotty_kulan_gath",
|
"tag": "0091_spotty_kulan_gath",
|
||||||
"breakpoints": true
|
"breakpoints": true
|
||||||
},
|
|
||||||
{
|
|
||||||
"idx": 92,
|
|
||||||
"version": "7",
|
|
||||||
"when": 1746915683635,
|
|
||||||
"tag": "0092_violet_daredevil",
|
|
||||||
"breakpoints": true
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"idx": 93,
|
|
||||||
"version": "7",
|
|
||||||
"when": 1746916912063,
|
|
||||||
"tag": "0093_milky_cerebro",
|
|
||||||
"breakpoints": true
|
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
Reference in New Issue
Block a user