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.
18 lines
406 B
18 lines
406 B
-- +goose Up
|
|
-- +goose StatementBegin
|
|
CREATE TABLE IF NOT EXISTS 'project' (
|
|
`id` INT NOT NULL AUTO_INCREMENT,
|
|
`scope_id` INT NOT NULL,
|
|
`author_id` CHAR(36) NOT NULL,
|
|
`name` VARCHAR(255) NOT NULL,
|
|
`status` INT NOT NULL,
|
|
`description` TEXT NOT NULL,
|
|
|
|
UNIQUE (`scope_id`, `name`)
|
|
)
|
|
-- +goose StatementEnd
|
|
|
|
-- +goose Down
|
|
-- +goose StatementBegin
|
|
SELECT 'down SQL query';
|
|
-- +goose StatementEnd
|