Cleaning comments in migration script

This commit is contained in:
Imbus 2023-11-28 00:37:09 +01:00
parent 1652419d94
commit 4abd2a3e43

View file

@ -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);
CREATE INDEX comments_user_id_index ON comments (author_user_id);