working on privacy

This commit is contained in:
cube
2026-03-20 17:16:11 +00:00
parent 3cf673704c
commit 2d57dfd125
2 changed files with 7 additions and 4 deletions

View File

@@ -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?)

View File

@@ -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)
); );