Changeset d56d471 in Klonkt for src/config
- Timestamp:
- 07/29/2026 12:36:50 PM (6 weeks ago)
- Branches:
- main
- Children:
- 7a93fcf
- Parents:
- 6100ce9
- File:
-
- 1 edited
-
src/config/database.js (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
src/config/database.js
r6100ce9 rd56d471 536 536 PRIMARY KEY (guardian_slug, id) 537 537 ); 538 -- The PROPOSER's own record of a gated proposal it sent (5.6). Without it 539 -- a guardian clicks "propose", the ward's server tallies somewhere else, 540 -- and the proposer has nowhere to even see that something is running: the 541 -- status was a button caption that did not survive a page refresh. The 542 -- ward's server answers the Offer once the decision settles (Accept when 543 -- it settled on the proposed value, Reject otherwise); that answer lands 544 -- in status. An open row past the decision window renders as expired. 545 CREATE TABLE IF NOT EXISTS ap_gated_sent ( 546 offer_id TEXT PRIMARY KEY, -- as minted by us, the proposer 547 guardian_slug TEXT NOT NULL, -- us 548 ward_uri TEXT NOT NULL, 549 feature TEXT NOT NULL, 550 value INTEGER NOT NULL, -- what we proposed 551 status TEXT NOT NULL DEFAULT 'open', -- 'open' | 'accepted' | 'rejected' 552 created_at DATETIME DEFAULT CURRENT_TIMESTAMP 553 ); 538 554 CREATE TABLE IF NOT EXISTS ap_gated_votes ( 539 555 slug TEXT NOT NULL, -- the WARD, on this server … … 678 694 ensureColumn('ap_outbox', 'wave', 'INTEGER'); // FEP-633c shaer:wave (guardian -> ward nudge) 679 695 ensureColumn('ap_outbox', 'away_until', 'INTEGER'); // FEP-633c 3.6.1 shaer:away + endTime (epoch ms) 696 ensureColumn('ap_gated_offers', 'proposer', 'TEXT'); // who proposed (5.6): the settle-answer goes back to them 680 697 ensureColumn('ap_mentions', 'wave', 'INTEGER'); // inbound guardian wave 681 698 // FEP-633c §2.2: object hint that the author is a ward. Register-only for now;
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)