Changeset fe97cc3 in Klonkt for src/config/database.js
- Timestamp:
- 07/01/2026 10:13:40 PM (2 months ago)
- Branches:
- main
- Children:
- 2abd3d2
- Parents:
- 254939c
- File:
-
- 1 edited
-
src/config/database.js (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
src/config/database.js
r254939c rfe97cc3 347 347 ); 348 348 CREATE INDEX IF NOT EXISTS idx_poll_votes_post ON poll_votes(post_id); 349 CREATE TABLE IF NOT EXISTS ap_mentions ( 350 id INTEGER PRIMARY KEY AUTOINCREMENT, 351 slug TEXT NOT NULL, -- our mentioned site/actor 352 object_uri TEXT NOT NULL, -- the remote note that mentions us 353 note_url TEXT, -- its human URL (open/interact) 354 actor_uri TEXT, actor_name TEXT, actor_handle TEXT, actor_icon TEXT, actor_url TEXT, 355 content TEXT, -- sanitized HTML snippet of the mentioning note 356 published TEXT, 357 created_at DATETIME DEFAULT CURRENT_TIMESTAMP, 358 UNIQUE(slug, object_uri) 359 ); 360 CREATE INDEX IF NOT EXISTS idx_ap_mentions_slug ON ap_mentions(slug, created_at); 349 361 CREATE TABLE IF NOT EXISTS ap_reports ( 350 362 id INTEGER PRIMARY KEY AUTOINCREMENT,
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)