12 lines
252 B
MySQL
12 lines
252 B
MySQL
|
|
||
|
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,
|
||
|
|
||
|
created TIMESTAMP NOT NULL,
|
||
|
updated TIMESTAMP NOT NULL
|
||
|
);
|