feat(patch): add patchType enum and update patch schema

- Introduced a new ENUM type "patchType" with values 'create', 'update', and 'delete' to categorize patch operations.
- Updated the "patch" table schema to include a new "type" column, defaulting to 'update', ensuring better management of patch types.
- Added a new snapshot file for version 7 to reflect the updated database schema.
This commit is contained in:
Mauricio Siu
2026-02-17 02:09:00 -06:00
parent 2db4c448d4
commit 9eeac50642
4 changed files with 7472 additions and 1 deletions
@@ -0,0 +1,2 @@
CREATE TYPE "public"."patchType" AS ENUM('create', 'update', 'delete');--> statement-breakpoint
ALTER TABLE "patch" ADD COLUMN "type" "patchType" DEFAULT 'update' NOT NULL;
File diff suppressed because it is too large Load Diff
+7
View File
@@ -1023,6 +1023,13 @@
"when": 1771307553867,
"tag": "0145_bitter_vivisector",
"breakpoints": true
},
{
"idx": 146,
"version": "7",
"when": 1771315685460,
"tag": "0146_clammy_titanium_man",
"breakpoints": true
}
]
}