taskcafe/migrations/0004_add-project-table.up.sql

7 lines
190 B
MySQL
Raw Normal View History

2020-04-10 04:40:22 +02:00
CREATE TABLE project (
project_id uuid PRIMARY KEY DEFAULT uuid_generate_v4(),
team_id uuid NOT NULL REFERENCES team(team_id),
created_at timestamptz NOT NULL,
name text NOT NULL
);