mirror of
https://github.com/hexolan/panels.git
synced 2026-05-20 11:39:22 +01: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