Changeset 5c373b8 in Klonkt for src/config
- Timestamp:
- 07/25/2026 07:51:28 AM (7 weeks ago)
- Branches:
- main
- Children:
- e62f65d
- Parents:
- 28267519
- File:
-
- 1 edited
-
src/config/database.js (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
src/config/database.js
r28267519 r5c373b8 47 47 used_by TEXT, 48 48 used_at TEXT 49 )`); 50 // FEP-633c §5.3: follows targeting a ward are held pending until its 51 // guardians approve (Guardian 2). Gating applies only to ward-actors. 52 db.exec(`CREATE TABLE IF NOT EXISTS ap_pending_follows ( 53 id TEXT PRIMARY KEY, 54 ward_slug TEXT NOT NULL, 55 follower_uri TEXT NOT NULL, 56 follower_inbox TEXT, 57 follower_shared_inbox TEXT, 58 follower_name TEXT, 59 follower_handle TEXT, 60 follower_icon TEXT, 61 activity_json TEXT, 62 quorum TEXT DEFAULT 'any', 63 status TEXT DEFAULT 'pending', 64 created_at TEXT DEFAULT CURRENT_TIMESTAMP 65 )`); 66 db.exec(`CREATE TABLE IF NOT EXISTS ap_pending_follow_approvals ( 67 follow_id TEXT NOT NULL, 68 guardian_uri TEXT NOT NULL, 69 decision TEXT NOT NULL, 70 created_at TEXT DEFAULT CURRENT_TIMESTAMP, 71 PRIMARY KEY (follow_id, guardian_uri) 49 72 )`); 50 73 ensureColumn('sites', 'profile_photo', 'TEXT');
Note:
See TracChangeset
for help on using the changeset viewer.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)