-
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.
Merge pull request #147 from KaiShoya/bugfix/#146_add_unique_key_to_d…
…rink_counters Bugfix/#146 飲み物の1杯目追加時に複数レコード作成される不具合を修正した
- Loading branch information
Showing
2 changed files
with
4 additions
and
1 deletion.
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 |
---|---|---|
@@ -1,6 +1,6 @@ | ||
{ | ||
"name": "drink-counter", | ||
"version": "1.9.4", | ||
"version": "1.9.5", | ||
"license": "MIT", | ||
"engines": { | ||
"node": "18" | ||
|
3 changes: 3 additions & 0 deletions
3
supabase/migrations/20231209062732_add_unique_key_to_drink_counters.sql
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,3 @@ | ||
CREATE UNIQUE INDEX drink_counters_unique_keys ON public.drink_counters USING btree (user_id, date, drink_id); | ||
|
||
|
79efc53
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Successfully deployed to the following URLs:
drink-counter – ./
drink-counter-theta.vercel.app
drink-counter-shoya85.vercel.app
drink-counter-git-main-shoya85.vercel.app