From 34c1d4bd906ad0d33a3ab556684c7ed3c844bc57 Mon Sep 17 00:00:00 2001 From: DongGeon0908 Date: Sat, 21 Dec 2024 17:13:09 +0900 Subject: [PATCH] =?UTF-8?q?fix:=20pose=20noti=EC=9D=98=20unique=20index=20?= =?UTF-8?q?=EB=B3=80=EA=B2=BD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- sql/pose.sql | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sql/pose.sql b/sql/pose.sql index 1ce6dd6..b7528ed 100644 --- a/sql/pose.sql +++ b/sql/pose.sql @@ -49,7 +49,7 @@ CREATE TABLE `pose_noti` `modified_at` datetime DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP COMMENT '수정일', PRIMARY KEY (`id`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci COMMENT '자세 알림'; -CREATE INDEX uidx__uid ON pose_noti (uid); +CREATE UNIQUE INDEX uidx__uid ON pose_noti (uid); -- 포즈 레이아웃 CREATE TABLE `pose_layout`