Skip to content

Commit 64a1814

Browse files
committed
Ratings change
1 parent 5f75892 commit 64a1814

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

src/migrations/procedures/ratings/create_rating.sql

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,11 @@ BEGIN
2929
in_rating,
3030
in_summary,
3131
0
32-
);
32+
)
33+
ON DUPLICATE KEY UPDATE
34+
title = in_title,
35+
rating = in_rating,
36+
summary = in_summary;
3337

3438
-- Setting feedback id
3539
SET @var_feedback_id = LAST_INSERT_ID();

0 commit comments

Comments
 (0)