Query
CREATE TABLE channel_outbound_refs (
id TEXT PRIMARY KEY,
channel_type TEXT NOT NULL,
chat_id TEXT NOT NULL,
internal_id TEXT NOT NULL,
platform_msg_id TEXT NOT NULL,
created_at TEXT NOT NULL DEFAULT (datetime('now'))
)
CREATE TABLE channel_outbound_refs (
id TEXT PRIMARY KEY,
channel_type TEXT NOT NULL,
chat_id TEXT NOT NULL,
internal_id TEXT NOT NULL,
platform_msg_id TEXT NOT NULL,
created_at TEXT NOT NULL DEFAULT (datetime('now'))
)