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.

320 B
Raw Blame
-- Your SQL goes here
CREATE TABLE workspace_members_table (
    email TEXT KEY NOT NULL,
    role INTEGER NOT NULL,
    name TEXT NOT NULL,
    avatar_url TEXT,
    uid BIGINT NOT NULL,
    workspace_id TEXT NOT NULL,
    updated_at TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP,
    PRIMARY KEY (email, workspace_id)
);