summaryrefslogtreecommitdiff
path: root/db/migrations/0045_complex_gamora.sql
diff options
context:
space:
mode:
authorjoonhoekim <26rote@gmail.com>2025-03-25 15:55:45 +0900
committerjoonhoekim <26rote@gmail.com>2025-03-25 15:55:45 +0900
commit1a2241c40e10193c5ff7008a7b7b36cc1d855d96 (patch)
tree8a5587f10ca55b162d7e3254cb088b323a34c41b /db/migrations/0045_complex_gamora.sql
initial commit
Diffstat (limited to 'db/migrations/0045_complex_gamora.sql')
-rw-r--r--db/migrations/0045_complex_gamora.sql2
1 files changed, 2 insertions, 0 deletions
diff --git a/db/migrations/0045_complex_gamora.sql b/db/migrations/0045_complex_gamora.sql
new file mode 100644
index 00000000..f39e6de5
--- /dev/null
+++ b/db/migrations/0045_complex_gamora.sql
@@ -0,0 +1,2 @@
+ALTER TABLE "tag_classes" ALTER COLUMN "id" SET DATA TYPE integer;--> statement-breakpoint
+ALTER TABLE "tag_classes" ALTER COLUMN "id" ADD GENERATED ALWAYS AS IDENTITY (sequence name "tag_classes_id_seq" INCREMENT BY 1 MINVALUE 1 MAXVALUE 2147483647 START WITH 1 CACHE 1); \ No newline at end of file