Changeset c16e0a5 in Klonkt for src/config
- Timestamp:
- 06/24/2026 11:44:23 AM (3 months ago)
- Branches:
- main
- Children:
- 47a0d29
- Parents:
- eb852c5
- File:
-
- 1 edited
-
src/config/database.js (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
src/config/database.js
reb852c5 rc16e0a5 316 316 ); 317 317 CREATE INDEX IF NOT EXISTS idx_ap_followers_slug ON ap_followers(slug); 318 CREATE TABLE IF NOT EXISTS ap_interactions ( 319 id INTEGER PRIMARY KEY AUTOINCREMENT, 320 kind TEXT NOT NULL, -- 'reply' | 'like' | 'announce' 321 post_id TEXT NOT NULL, 322 object_uri TEXT NOT NULL DEFAULT '', -- remote note id (reply) or '' (like/announce) 323 actor_uri TEXT NOT NULL, 324 actor_name TEXT, 325 actor_handle TEXT, 326 actor_url TEXT, 327 actor_icon TEXT, 328 content TEXT, -- sanitized HTML (reply) 329 published TEXT, 330 created_at DATETIME DEFAULT CURRENT_TIMESTAMP, 331 UNIQUE(kind, post_id, actor_uri, object_uri) 332 ); 333 CREATE INDEX IF NOT EXISTS idx_ap_inter_post ON ap_interactions(post_id, kind); 318 334 `); 319 335 }
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)