Skip to content

Commit

Permalink
migrations: make users.user have a unique constraint
Browse files Browse the repository at this point in the history
  • Loading branch information
Wessie committed Dec 16, 2024
1 parent e58ac7c commit 0f56e4a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions migrations/mysql/0019_users_user_unique.up.sql
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
ALTER TABLE users ADD CONSTRAINT user_unique UNIQUE (user);

0 comments on commit 0f56e4a

Please sign in to comment.