From 4abd2a3e43702f2a626c15c0f95810ba9f27f5b5 Mon Sep 17 00:00:00 2001 From: Imbus Date: Tue, 28 Nov 2023 00:37:09 +0100 Subject: [PATCH] Cleaning comments in migration script --- server/migrations/0003_comments_table.sql | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/server/migrations/0003_comments_table.sql b/server/migrations/0003_comments_table.sql index 19cdf61..bbb261a 100644 --- a/server/migrations/0003_comments_table.sql +++ b/server/migrations/0003_comments_table.sql @@ -44,8 +44,4 @@ EXECUTE FUNCTION comments_set_updated_at(); CREATE INDEX comments_parent_post_id_index ON comments (parent_post_id); CREATE INDEX comments_parent_comment_id_index ON comments (parent_comment_id); -CREATE INDEX comments_user_id_index ON comments (author_user_id); - --- CREATE INDEX posts_user_id_index ON posts (user_id); --- CREATE INDEX posts_id_index ON posts (id); --- CREATE INDEX idx_created_at_desc ON posts (created_at DESC); \ No newline at end of file +CREATE INDEX comments_user_id_index ON comments (author_user_id); \ No newline at end of file