taskcafe/api/migrations/0015_add-task-label-table.up.sql
2020-04-20 18:04:27 -05:00

7 lines
254 B
SQL

CREATE TABLE task_label (
task_label_id uuid PRIMARY KEY DEFAULT uuid_generate_v4(),
task_id uuid NOT NULL REFERENCES task(task_id),
project_label_id uuid NOT NULL REFERENCES project_label(project_label_id),
assigned_date timestamptz NOT NULL
);