Skip to content

Commit

Permalink
Merge pull request #147 from KaiShoya/bugfix/#146_add_unique_key_to_d…
Browse files Browse the repository at this point in the history
…rink_counters

Bugfix/#146 飲み物の1杯目追加時に複数レコード作成される不具合を修正した
  • Loading branch information
KaiShoya committed Dec 9, 2023
2 parents 505554c + a76998e commit 79efc53
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 1 addition & 1 deletion package.json
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"
Expand Down
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);


1 comment on commit 79efc53

@vercel
Copy link

@vercel vercel bot commented on 79efc53 Dec 9, 2023

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

Please sign in to comment.