taskcafe/migrations/0015_add-task-label-table.up.sql

7 lines
254 B
MySQL
Raw Normal View History

2020-04-20 05:02:55 +02:00
CREATE TABLE task_label (
task_label_id uuid PRIMARY KEY DEFAULT uuid_generate_v4(),
task_id uuid NOT NULL REFERENCES task(task_id),
2020-04-21 01:04:27 +02:00
project_label_id uuid NOT NULL REFERENCES project_label(project_label_id),
2020-04-20 05:02:55 +02:00
assigned_date timestamptz NOT NULL
);