TTime/backend/migrations/0040_time_report_collections.sql

7 lines
223 B
MySQL
Raw Normal View History

2024-02-26 00:12:13 +01:00
CREATE TABLE IF NOT EXISTS user_roles (
user_id INTEGER NOT NULL,
project_id INTEGER NOT NULL,
role STRING NOT NULL,
FOREIGN KEY (user_id) REFERENCES users (id)
FOREIGN KEY (project_id) REFERENCES projects (id)
);