home / chat

quarantined_media_changes

✎ View and edit SQL

This data as json

0 records

CREATE TABLE quarantined_media_changes (
    -- Position in the quarantined media stream
    stream_id INTEGER NOT NULL PRIMARY KEY,

    -- Name of the worker sending this (makes us compatible with multiple writers)
    instance_name TEXT NOT NULL,

    -- Media origin. NULL if local media.
    -- We store the origin and media_id as media is scoped to the origin and are uniquely identified by (origin, media_id).
    origin TEXT NULL,

    -- Media ID at the origin.
    media_id TEXT NOT NULL,

    -- True if quarantined at this position, false otherwise.
    quarantined BOOLEAN NOT NULL
);
Powered by Datasette · Queries took 13.291ms