-- +goose Up
-- +goose StatementBegin
CREATE TABLE sprint (
  `id` INT NOT NULL PRIMARY KEY AUTO_INCREMENT,
  `scope_id` INT NOT NULL,
  `name` VARCHAR(255) NOT NULL,
  `description` TEXT NOT NULL,
  `from_time` DATETIME NOT NULL,
  `to_time` DATETIME NOT NULL,
  `is_timed` BOOLEAN NOT NULL,
  `is_coarse` BOOLEAN NOT NULL,
  `is_unweighted` BOOLEAN NOT NULL,
  `kind` INT NOT NULL,
  `aggregate_name` VARCHAR(255) NOT NULL,
  `aggregate_required` INT NOT NULL
);
-- +goose StatementEnd

-- +goose Down
-- +goose StatementBegin
DROP TABLE IF EXISTS sprint;
-- +goose StatementEnd
