add: forums ui
This commit is contained in:
parent
2be87c397d
commit
9ec52abfe4
24 changed files with 770 additions and 64 deletions
|
@ -18,5 +18,6 @@ CREATE TABLE IF NOT EXISTS posts (
|
|||
poll_id BIGINT NOT NULL,
|
||||
title TEXT NOT NULL,
|
||||
is_open INT NOT NULL DEFAULT 1,
|
||||
circle BIGINT NOT NULL
|
||||
stack BIGINT NOT NULL,
|
||||
topic BIGINT NOT NULL
|
||||
)
|
||||
|
|
|
@ -21,3 +21,7 @@ ADD COLUMN IF NOT EXISTS is_forum INT DEFAULT 0;
|
|||
-- communities topics
|
||||
ALTER TABLE communities
|
||||
ADD COLUMN IF NOT EXISTS topics TEXT DEFAULT '{}';
|
||||
|
||||
-- posts topic
|
||||
ALTER TABLE posts
|
||||
ADD COLUMN IF NOT EXISTS topic BIGINT DEFAULT 0;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue