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
471 B
19 lines
471 B
-- +goose Up
|
|
-- +goose StatementBegin
|
|
CREATE TABLE item (
|
|
`id` INT NOT NULL PRIMARY KEY AUTO_INCREMENT,
|
|
`scope_id` INT NOT NULL,
|
|
`project_requirement_id` INT,
|
|
`name` VARCHAR(255) NOT NULL,
|
|
`description` TEXT NOT NULL,
|
|
`created_time` DATETIME NOT NULL,
|
|
`created_user_id` CHAR(36) NOT NULL,
|
|
`acquired_time` DATETIME,
|
|
`scheduled_date` DATE
|
|
)
|
|
-- +goose StatementEnd
|
|
|
|
-- +goose Down
|
|
-- +goose StatementBegin
|
|
DROP TABLE IF EXISTS item;
|
|
-- +goose StatementEnd
|