From f59ca5395024d28bcfb1ddc57f443dc49b881eb6 Mon Sep 17 00:00:00 2001 From: soxx Date: Wed, 29 Jan 2025 15:07:29 +0100 Subject: [PATCH] fix: correct user ID source in User model Change 'user_id' field to 'text' --- pkg/database/migrations/002_user_id_to_text.sql | 4 ++++ 1 file changed, 4 insertions(+) create mode 100644 pkg/database/migrations/002_user_id_to_text.sql diff --git a/pkg/database/migrations/002_user_id_to_text.sql b/pkg/database/migrations/002_user_id_to_text.sql new file mode 100644 index 0000000..b09df1e --- /dev/null +++ b/pkg/database/migrations/002_user_id_to_text.sql @@ -0,0 +1,4 @@ +-- +migrate Up + +ALTER TABLE "UserSource" + ALTER COLUMN user_id TYPE TEXT; \ No newline at end of file