add: some user api and all api desc
This commit is contained in:
@@ -0,0 +1,9 @@
|
||||
CREATE TABLE comment_likes (
|
||||
comment_id BIGINT NOT NULL,
|
||||
user_id BIGINT NOT NULL,
|
||||
created_at TIMESTAMPTZ NOT NULL DEFAULT NOW(),
|
||||
|
||||
PRIMARY KEY (comment_id, user_id)
|
||||
);
|
||||
|
||||
CREATE INDEX idx_comment_likes_lookup ON comment_likes(user_id, comment_id);
|
||||
Reference in New Issue
Block a user