Skip to content

Commit

Permalink
🐛 discord_user_idが19桁の時にエラーを返していたバグを修正
Browse files Browse the repository at this point in the history
  • Loading branch information
pikachu0310 committed Feb 17, 2024
1 parent f12e8e6 commit bb9ef05
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions internal/migration/4_change_discord_user_id_length.sql
Original file line number Diff line number Diff line change
@@ -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;

0 comments on commit bb9ef05

Please sign in to comment.