taskcafe/api/migrations/0005_add-task-group-table.up.sql
2020-04-09 21:40:22 -05:00

8 lines
232 B
SQL

CREATE TABLE task_group (
task_group_id uuid PRIMARY KEY DEFAULT uuid_generate_v4(),
project_id uuid NOT NULL REFERENCES project(project_id),
created_at timestamptz NOT NULL,
name text NOT NULL,
position float NOT NULL
);