Skip to content

Commit

Permalink
fix: 쿼리 변경
Browse files Browse the repository at this point in the history
  • Loading branch information
DongGeon0908 committed Sep 18, 2024
1 parent aded701 commit 91717bf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sql/pose.sql
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ CREATE TABLE `pose_count`
`id` bigint NOT NULL AUTO_INCREMENT,
`uid` bigint NOT NULL COMMENT 'uid',
`total_count` text NOT NULL COMMENT '집계 데이터',
`date` datetime DEFAULT CURRENT_TIMESTAMP COMMENT '기준 날짜',
`date` date NOT NULL COMMENT '기준 날짜',
PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci;
CREATE UNIQUE INDEX uidx__uid__date ON pose_count (uid, date);
Expand Down

0 comments on commit 91717bf

Please sign in to comment.