Files
huly-platform/packages/postgres/migrations/05_notificationContext.sql
T
2024-12-02 18:57:44 +04:00

12 lines
328 B
SQL

CREATE TABLE IF NOT EXISTS notification_context
(
workspace_id UUID NOT NULL,
card_id UUID NOT NULL,
huly_id VARCHAR(255) NOT NULL, /* Or maybe account id or something else */
last_view TIMESTAMPTZ,
last_update TIMESTAMPTZ,
PRIMARY KEY (workspace_id, card_id, huly_id)
);