Changeset 2a10445 in Klonkt for src/config/database.js
- Timestamp:
- 07/30/2026 08:23:47 AM (6 weeks ago)
- Branches:
- main
- Children:
- 094f7d0
- Parents:
- 15f1cb5
- File:
-
- 1 edited
-
src/config/database.js (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
src/config/database.js
r15f1cb5 r2a10445 696 696 ensureColumn('ap_gated_offers', 'proposer', 'TEXT'); // who proposed (5.6): the settle-answer goes back to them 697 697 ensureColumn('posts', 'c2s_attachments', 'TEXT'); // media a C2S Note carried (JSON [{url,mediaType,name}]); buildNote federates them 698 // 30-7: C2S posts briefly got their content media copied onto the cover, 699 // which showed the same video twice on the post page. Clear the covers that 700 // duplicate their own content; idempotent, only ever touches those. 701 try { 702 db.prepare("UPDATE posts SET cover_video_url = NULL WHERE cover_video_url LIKE '/media/reply-media/%' AND instr(content, cover_video_url) > 0").run(); 703 db.prepare("UPDATE posts SET cover_image_url = NULL WHERE cover_image_url LIKE '/media/reply-media/%' AND instr(content, cover_image_url) > 0").run(); 704 } catch { /* posts table absent on fresh init */ } 698 705 ensureColumn('ap_mentions', 'wave', 'INTEGER'); // inbound guardian wave 699 706 // 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)