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.
26 lines
636 B
26 lines
636 B
-- +goose Up
|
|
-- +goose StatementBegin
|
|
CREATE TABLE issue_task (
|
|
issue_task_id CHAR(48) PRIMARY KEY,
|
|
issue_id CHAR(32) NOT NULL,
|
|
activity_id CHAR(16) NOT NULL,
|
|
created_time TIMESTAMP NOT NULL,
|
|
updated_time TIMESTAMP NOT NULL,
|
|
due_time TIMESTAMP,
|
|
status_stage INT NOT NULL,
|
|
status_name CHAR(32) NOT NULL,
|
|
name VARCHAR(255) NOT NULL,
|
|
description TEXT NOT NULL,
|
|
estimated_time BIGINT NOT NULL,
|
|
estimated_units INT NOT NULL,
|
|
points_multiplier FLOAT NOT NULL,
|
|
|
|
INDEX (issue_id),
|
|
INDEX (activity_id)
|
|
);
|
|
-- +goose StatementEnd
|
|
|
|
-- +goose Down
|
|
-- +goose StatementBegin
|
|
DROP TABLE issue_task;
|
|
-- +goose StatementEnd
|