Changeset 72ec6a4 in Klonkt for src/config/database.js
- Timestamp:
- 07/31/2026 06:55:59 PM (6 weeks ago)
- Branches:
- main
- Children:
- 17546af
- Parents:
- bfa6fa1
- File:
-
- 1 edited
-
src/config/database.js (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
src/config/database.js
rbfa6fa1 r72ec6a4 38 38 // SQLite throws if the column already exists; we swallow that. 39 39 ensureColumn('sites', 'enable_audio_player', 'INTEGER DEFAULT 1'); 40 // Guardian 2: losse guardians. Een guardian-only account is user + minimale 41 // site (alleen de actor telt); de vlag houdt CMS/listings erbuiten. 42 ensureColumn('sites', 'guardian_only', 'INTEGER DEFAULT 0'); 43 db.exec(`CREATE TABLE IF NOT EXISTS ap_guardian_invites ( 44 token TEXT PRIMARY KEY, 45 created_by TEXT NOT NULL, 46 created_at TEXT DEFAULT CURRENT_TIMESTAMP, 47 used_by TEXT, 48 used_at TEXT 49 )`); 40 // (Verwijderd 31-7-2026: sites.guardian_only en ap_guardian_invites hoorden 41 // bij de guardian-lite accounts. Bestaande installaties houden kolom en tabel 42 // ongebruikt; nieuwe krijgen ze niet meer.) 50 43 // FEP-633c §5.3: follows targeting a ward are held pending until its 51 44 // guardians approve (Guardian 2). Gating applies only to ward-actors.
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)