This commit is contained in:
@@ -0,0 +1,15 @@
|
||||
-- +goose Up
|
||||
-- +goose StatementBegin
|
||||
CREATE TABLE task_link (
|
||||
project_id CHAR(16) NOT NULL,
|
||||
task_id CHAR(16) NOT NULL,
|
||||
|
||||
PRIMARY KEY (project_id, task_id),
|
||||
UNIQUE (task_id, project_id)
|
||||
);
|
||||
-- +goose StatementEnd
|
||||
|
||||
-- +goose Down
|
||||
-- +goose StatementBegin
|
||||
DROP TABLE task_link;
|
||||
-- +goose StatementEnd
|
||||
Reference in New Issue
Block a user