pique/migrations/2024-05-31-204416_permissions/up.sql

9 lines
187 B
MySQL
Raw Normal View History

CREATE TABLE IF NOT EXISTS project_memberships(
id INTEGER PRIMARY KEY NOT NULL UNIQUE,
user_id UUID_TEXT NOT NULL,
project_id UUID_TEXT NOT NULL,
role TEXT NOT NULL
);