-- +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
