Changeset 3d37c67 in Klonkt for src/config
- Timestamp:
- 06/26/2026 11:38:25 PM (2 months ago)
- Branches:
- main
- Children:
- 2f42b60
- Parents:
- 3289a64
- File:
-
- 1 edited
-
src/config/database.js (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
src/config/database.js
r3289a64 r3d37c67 354 354 ); 355 355 CREATE INDEX IF NOT EXISTS idx_ap_outbox_post ON ap_outbox(post_id); 356 -- Your like/boost state on a REMOTE post (the interact page), so those become toggles. 357 CREATE TABLE IF NOT EXISTS ap_my_reactions ( 358 site_slug TEXT NOT NULL, 359 target_uri TEXT NOT NULL, 360 kind TEXT NOT NULL, -- 'like' | 'boost' 361 created_at DATETIME DEFAULT CURRENT_TIMESTAMP, 362 UNIQUE(site_slug, target_uri, kind) 363 ); 356 364 `); 357 365 ensureColumn('ap_interactions', 'parent_uri', 'TEXT'); // nesting (existing DBs)
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)