Documentation

Reference

Database

Review the Inner Threads messaging tables, migrations, and data retention.

Tables

Table Records
tkit_conversations Workspace, threads, group closure, and latest message cursor
tkit_memberships Participants, roles, history boundaries, receipt cursors, mute, archive, and notification suppression
tkit_messages Message bodies, replies, mentions, edits, tombstones, and voice metadata
tkit_attachments Private disk paths, original names, MIME types, and sizes
tkit_reactions Per-user reactions
tkit_hidden_messages Messages hidden by individual users
tkit_receipt_events Times when a participant’s delivery or read cursor advances
tkit_starred_messages Private message bookmarks keyed by membership
tkit_link_previews Sent website preview metadata and private thumbnail data
tkit_user_preferences Widget theme, browser mute state, and optional profile photo per workspace and actor

The host supplies the user records. Inner Threads stores opaque actor identifiers and adds no columns to your user table.

Deletion and retention

Deleting for yourself hides a message from your view. Deleting for everyone clears the message content and linked data while retaining a tombstone. Archiving a chat changes your own inbox. Closing a group through the owner-only API closes access for members while retaining the records.

Receipt timestamps are available for cursor advances recorded after the receipt-events migration. Removing a membership removes its receipt events. The application owner manages backups, storage retention, and user lifecycle.

Migrating existing tables

The original migrations can carry development installs from inner_threads_* and u017_* to tkit_*. The v1.1.0 migrations add receipt events, stars, per-user archive and notification state, voice metadata, and link previews. The v1.2.0 migration adds account preferences within each workspace. Back up the database and private files before following Upgrading.