-- +goose Up
-- +goose StatementBegin
CREATE TABLE log_task (
  log_id CHAR(24) NOT NULL,
  issue_id CHAR(32) NOT NULL,
  issue_task_id CHAR(48) NOT NULL,
  units INTEGER,
  duration BIGINT NOT NULL,

  PRIMARY KEY(log_id, issue_task_id),
  INDEX (issue_task_id),
  INDEX (issue_id)
);
-- +goose StatementEnd

-- +goose Down
-- +goose StatementBegin
DROP TABLE log_task;
-- +goose StatementEnd
