-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Added a UNIQUE constraint to the 'user_name' column in the 'users' ta…
…ble to enforce unique usernames.
- Loading branch information
GitHub Gen Changes
committed
Aug 1, 2024
1 parent
183f2b1
commit 28a665c
Showing
3 changed files
with
6 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
-- Modify "users" table | ||
ALTER TABLE `users` ADD UNIQUE INDEX `user_name` (`user_name`); | ||
Check warning on line 2 in dirs/ecommerce/migrations/20240801083707.sql GitHub Actions / atlasdata dependent changes detected
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters