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

9 lines
187 B
MySQL
Raw Normal View History

2024-06-01 00:10:22 +00:00
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,
2024-06-01 17:18:46 +00:00
role TEXT NOT NULL
2024-06-01 00:10:22 +00:00
);