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;