add: communities list page
TODO(ui): implement community creation, community viewing, community posting TODO(ui): implement profile following, followers, and posts feed
This commit is contained in:
parent
5cfca49793
commit
d6fbfc3cd6
28 changed files with 497 additions and 313 deletions
|
@ -2,6 +2,6 @@ CREATE TABLE IF NOT EXISTS memberships (
|
|||
id INTEGER NOT NULL PRIMARY KEY,
|
||||
created INTEGER NOT NULL,
|
||||
owner INTEGER NOT NULL,
|
||||
journal INTEGER NOT NULL,
|
||||
community INTEGER NOT NULL,
|
||||
role INTEGER NOT NULL
|
||||
)
|
||||
|
|
|
@ -3,7 +3,7 @@ CREATE TABLE IF NOT EXISTS posts (
|
|||
created INTEGER NOT NULL,
|
||||
content TEXT NOT NULL,
|
||||
owner INTEGER NOT NULL,
|
||||
journal INTEGER NOT NULL,
|
||||
community INTEGER NOT NULL,
|
||||
context TEXT NOT NULL,
|
||||
replying_to INTEGER, -- the ID of the post this is a comment on... NULL means it isn't a reply
|
||||
-- likes
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue