mirror of
https://github.com/hexolan/panels.git
synced 2026-03-26 12:40:21 +00:00
init post-service
This commit is contained in:
@@ -0,0 +1,9 @@
|
||||
CREATE TABLE posts (
|
||||
"id" serial PRIMARY KEY,
|
||||
"panel_id" varchar(64) NOT NULL,
|
||||
"author_id" varchar(64) NOT NULL,
|
||||
"title" varchar(512) NOT NULL,
|
||||
"content" TEXT NOT NULL,
|
||||
"created_at" timestamp NOT NULL DEFAULT timezone('utc', now()),
|
||||
"updated_at" timestamp
|
||||
);
|
||||
Reference in New Issue
Block a user