You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
16 lines
343 B
16 lines
343 B
-- +goose Up
|
|
-- +goose StatementBegin
|
|
CREATE TABLE sprint_part (
|
|
`sprint_id` INT NOT NULL,
|
|
`object_id` INT NOT NULL,
|
|
`required` INT NOT NULL,
|
|
|
|
PRIMARY KEY (sprint_id, object_id),
|
|
UNIQUE (object_id, sprint_id)
|
|
);
|
|
-- +goose StatementEnd
|
|
|
|
-- +goose Down
|
|
-- +goose StatementBegin
|
|
DROP TABLE IF EXISTS sprint_part;
|
|
-- +goose StatementEnd
|