fix sql · pgmot/isucon13@37abeda · GitHub
Skip to content
This repository has been archived by the owner on Nov 28, 2023. It is now read-only.

Commit

Permalink
fix sql
Browse files Browse the repository at this point in the history
  • Loading branch information
pgmot committed Nov 25, 2023
1 parent 1a8a15d commit 37abeda
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sql/init.sql
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ CREATE TABLE `livecomments` (
`tip` BIGINT NOT NULL DEFAULT 0,
`created_at` BIGINT NOT NULL
) ENGINE=InnoDB CHARACTER SET utf8mb4 COLLATE utf8mb4_bin;
CREATE INDEX livecomments_live_id ON livecomments(`livestream_id`);
CREATE INDEX livecomments_live_id ON livecomments(`livestream_id`, `created_at`);

-- ユーザからのライブコメントのスパム報告
CREATE TABLE `livecomment_reports` (
Expand Down

0 comments on commit 37abeda

Please sign in to comment.