Changeset 737ea05 in Klonkt for src/config
- Timestamp:
- 07/01/2026 07:26:13 PM (2 months ago)
- Branches:
- main
- Children:
- 9e1b1bb
- Parents:
- 1c2dcba
- File:
-
- 1 edited
-
src/config/database.js (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
src/config/database.js
r1c2dcba r737ea05 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_reports ( 350 id INTEGER PRIMARY KEY AUTOINCREMENT, 351 slug TEXT NOT NULL, -- our site the report is about (its owner moderates) 352 actor_uri TEXT, -- the reporter's actor URI 353 actor_name TEXT, actor_handle TEXT, actor_icon TEXT, 354 content TEXT, -- the reason (plain text) 355 objects TEXT, -- JSON array of reported object URIs (our actor + statuses) 356 seen INTEGER DEFAULT 0, 357 created_at DATETIME DEFAULT CURRENT_TIMESTAMP 358 ); 359 CREATE INDEX IF NOT EXISTS idx_ap_reports_slug ON ap_reports(slug, created_at); 349 360 `); 350 361 // "Feature" a followed account: its posts show in the local Cirkel.
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)