Skip to content

Bring projects, wikis, and teams together with AI. AppFlowy is the AI collaborative workspace where you achieve more without losing control of your data. The leading open source Notion alternative.

280 B
Raw Blame
-- Your SQL goes here
CREATE TABLE IF NOT EXISTS workspace_shared_view (
  uid BigInt NOT NULL,
  workspace_id TEXT NOT NULL,
  view_id TEXT NOT NULL,
  permission_id INTEGER NOT NULL,
  created_at DATETIME DEFAULT CURRENT_TIMESTAMP,
  PRIMARY KEY (uid, workspace_id, view_id)
);