Changeset 2bfe26c in Klonkt for src/config/database.js
- Timestamp:
- 08/08/2026 07:00:17 AM (5 weeks ago)
- Branches:
- main
- Children:
- 0b0cd54
- Parents:
- f3a2556
- git-author:
- Robin <roboburr@…> (08/08/2026 07:00:15 AM)
- git-committer:
- roboburr <roboburr@…> (08/08/2026 07:00:17 AM)
- File:
-
- 1 edited
-
src/config/database.js (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
src/config/database.js
rf3a2556 r2bfe26c 776 776 )`); 777 777 db.exec('CREATE INDEX IF NOT EXISTS idx_ap_help_state_note ON ap_help_state(note_uri)'); 778 // Een kind dat zelf om een poort vraagt (shaer-8ru). Een VRAAG, geen stem: 779 // pas als een guardian hem oppakt wordt het een voorstel dat langs de tally 780 // gaat. handled_at in plaats van verwijderen -- wat een kind gevraagd heeft 781 // hoort terug te vinden te zijn, ook als het antwoord nee was. 782 db.exec(`CREATE TABLE IF NOT EXISTS ap_gate_requests ( 783 id INTEGER PRIMARY KEY AUTOINCREMENT, 784 slug TEXT NOT NULL, -- de guardian die hem ontving 785 ward_uri TEXT NOT NULL, 786 feature TEXT NOT NULL, 787 note_uri TEXT, 788 created_at TEXT DEFAULT CURRENT_TIMESTAMP, 789 handled_at TEXT, 790 UNIQUE (slug, ward_uri, feature, handled_at) 791 )`); 792 db.exec('CREATE INDEX IF NOT EXISTS idx_ap_gate_requests_slug ON ap_gate_requests(slug, handled_at)'); 778 793 ensureColumn('ap_mentions', 'help_request', 'INTEGER'); // inbound ward call-for-help (Guardian PWA message centre) 779 794 ensureColumn('ap_outbox', 'wave', 'INTEGER'); // FEP-633c shaer:wave (guardian -> ward nudge)
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)