twitch-bot/internal/apimodules/overlays/schema/001.sql

10 lines
208 B
MySQL
Raw Normal View History

CREATE TABLE overlays_events (
channel STRING NOT NULL,
created_at INTEGER,
event_type STRING,
fields STRING
);
CREATE INDEX overlays_events_sort_idx
ON overlays_events (channel, created_at DESC);