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:
Mauricio Siu
2025-06-01 19:43:48 -06:00
parent 2ad8bf355b
commit 2c77029dad
5 changed files with 0 additions and 11618 deletions

View File

@@ -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;

View File

@@ -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

View File

@@ -645,20 +645,6 @@
"when": 1746518402168,
"tag": "0091_spotty_kulan_gath",
"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
}
]
}