Changeset 05665bc in Klonkt for src/config
- Timestamp:
- 07/25/2026 06:25:15 AM (7 weeks ago)
- Branches:
- main
- Children:
- 28267519
- Parents:
- c1f5c23
- File:
-
- 1 edited
-
src/config/database.js (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
src/config/database.js
rc1f5c23 r05665bc 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 50 ensureColumn('sites', 'profile_photo', 'TEXT'); 41 51 ensureColumn('audio_tracks', 'cover_url', '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)