working on privacy
This commit is contained in:
@@ -6,9 +6,9 @@ logged in users are presumed to all be admins with distinction only between bein
|
|||||||
|
|
||||||
# assorted todo
|
# assorted todo
|
||||||
|
|
||||||
- privacy settings in database to keep selected members private to logged-in users
|
- ==privacy settings in database to keep selected members private to logged-in users ==
|
||||||
- privacy settings for groups?
|
- ==privacy settings for groups? ==
|
||||||
- privacy settings for blog posts
|
- ==privacy settings for blog posts==
|
||||||
- add delete button to blog posts on main feed
|
- add delete button to blog posts on main feed
|
||||||
- show blog posts in edit member section with a delete button
|
- show blog posts in edit member section with a delete button
|
||||||
- page theme edit inside the user (below user theme?)
|
- page theme edit inside the user (below user theme?)
|
||||||
|
|||||||
@@ -35,6 +35,7 @@ CREATE TABLE member (
|
|||||||
gradient3 TEXT NOT NULL DEFAULT '#eddd53',
|
gradient3 TEXT NOT NULL DEFAULT '#eddd53',
|
||||||
a1 TEXT NOT NULL DEFAULT '#008bcc',
|
a1 TEXT NOT NULL DEFAULT '#008bcc',
|
||||||
a2 TEXT NOT NULL DEFAULT '#026897',
|
a2 TEXT NOT NULL DEFAULT '#026897',
|
||||||
|
public BOOLEAN NOT NULL DEFAULT 1,
|
||||||
FOREIGN KEY (user_id) REFERENCES user (id),
|
FOREIGN KEY (user_id) REFERENCES user (id),
|
||||||
FOREIGN KEY (main_icon) REFERENCES icons (id)
|
FOREIGN KEY (main_icon) REFERENCES icons (id)
|
||||||
);
|
);
|
||||||
@@ -49,7 +50,8 @@ CREATE TABLE icons (
|
|||||||
CREATE TABLE groups (
|
CREATE TABLE groups (
|
||||||
id INTEGER PRIMARY KEY AUTOINCREMENT,
|
id INTEGER PRIMARY KEY AUTOINCREMENT,
|
||||||
group_name TEXT NOT NULL,
|
group_name TEXT NOT NULL,
|
||||||
group_description TEXT
|
group_description TEXT,
|
||||||
|
public BOOLEAN NOT NULL DEFAULT 1
|
||||||
);
|
);
|
||||||
|
|
||||||
CREATE TABLE group_members (
|
CREATE TABLE group_members (
|
||||||
@@ -66,5 +68,6 @@ CREATE TABLE blog (
|
|||||||
created TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP,
|
created TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP,
|
||||||
title TEXT,
|
title TEXT,
|
||||||
content TEXT,
|
content TEXT,
|
||||||
|
public BOOLEAN NOT NULL DEFAULT 1,
|
||||||
FOREIGN KEY (member_id) REFERENCES member (id)
|
FOREIGN KEY (member_id) REFERENCES member (id)
|
||||||
);
|
);
|
||||||
Reference in New Issue
Block a user