From 746ca0c5f039beb34b4407b47231b17dde48015b Mon Sep 17 00:00:00 2001 From: SoXX Date: Sat, 28 Dec 2024 22:25:32 +0100 Subject: [PATCH] fix: Update tag type addition method in SQL migration file Signed-off-by: SoXX --- pkg/database/migrations/007_additional_tag_types.sql | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkg/database/migrations/007_additional_tag_types.sql b/pkg/database/migrations/007_additional_tag_types.sql index 088af3a..5703f41 100644 --- a/pkg/database/migrations/007_additional_tag_types.sql +++ b/pkg/database/migrations/007_additional_tag_types.sql @@ -1,4 +1,4 @@ -- +migrate Up -INSERT INTO tag_types (name) VALUES ('Contributor'); -INSERT INTO tag_types (name) VALUES ('Unknown'); +ALTER TYPE TagType ADD VALUE 'Contributor'; +ALTER TYPE TagType ADD VALUE 'Unknown';