From bb9ef05071f9dc8fb4c6ecb2269732f9e150ab1f Mon Sep 17 00:00:00 2001 From: pikachu0310 Date: Sat, 17 Feb 2024 16:56:17 +0900 Subject: [PATCH] =?UTF-8?q?:bug:=20discord=5Fuser=5Fid=E3=81=8C19=E6=A1=81?= =?UTF-8?q?=E3=81=AE=E6=99=82=E3=81=AB=E3=82=A8=E3=83=A9=E3=83=BC=E3=82=92?= =?UTF-8?q?=E8=BF=94=E3=81=97=E3=81=A6=E3=81=84=E3=81=9F=E3=83=90=E3=82=B0?= =?UTF-8?q?=E3=82=92=E4=BF=AE=E6=AD=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- internal/migration/4_change_discord_user_id_length.sql | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 internal/migration/4_change_discord_user_id_length.sql diff --git a/internal/migration/4_change_discord_user_id_length.sql b/internal/migration/4_change_discord_user_id_length.sql new file mode 100644 index 0000000..cb93301 --- /dev/null +++ b/internal/migration/4_change_discord_user_id_length.sql @@ -0,0 +1,5 @@ +-- +goose Up +ALTER TABLE game MODIFY COLUMN discord_user_id VARCHAR(255) NOT NULL; + +-- +goose Down +ALTER TABLE game MODIFY COLUMN discord_user_id CHAR(18) NOT NULL;