init comment-service

This commit is contained in:
2023-09-27 16:05:24 +01:00
parent 0ae3ee3af4
commit 55a533c461
41 changed files with 2800 additions and 0 deletions

View File

@@ -0,0 +1,11 @@
CREATE TABLE comments (
"id" serial PRIMARY KEY,
"post_id" varchar(64) NOT NULL,
"author_id" varchar(64) NOT NULL,
"message" varchar(512) NOT NULL,
"created_at" timestamp NOT NULL DEFAULT timezone('utc', now()),
"updated_at" timestamp
);