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.
19 lines
394 B
19 lines
394 B
-- +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
|