basic member blogs

still trying to figure out how to maximize customisability (html & css) of member pages as much as how we have them on neocities
This commit is contained in:
cube
2026-03-18 02:36:25 +00:00
parent 5ec6a62aa7
commit 7c6aabb1aa
11 changed files with 140 additions and 16 deletions

View File

@@ -3,7 +3,7 @@ DROP TABLE IF EXISTS member;
DROP TABLE IF EXISTS icons;
DROP TABLE IF EXISTS groups;
DROP TABLE IF EXISTS group_members;
DROP TABLE IF EXISTS pages;
DROP TABLE IF EXISTS blog;
CREATE TABLE user (
id INTEGER PRIMARY KEY AUTOINCREMENT,
@@ -60,9 +60,11 @@ CREATE TABLE group_members (
FOREIGN KEY (member_id) REFERENCES member (id)
);
CREATE TABLE pages (
CREATE TABLE blog (
id INTEGER PRIMARY KEY AUTOINCREMENT,
member_id INTEGER NOT NULL,
page_location TEXT NOT NULL,
created TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP,
title TEXT,
content TEXT,
FOREIGN KEY (member_id) REFERENCES member (id)
);