-- +goose Up -- +goose StatementBegin CREATE TABLE activity ( activity_id CHAR(16) PRIMARY KEY, project_id CHAR(16) NOT NULL, name VARCHAR(255) NOT NULL, countable BOOLEAN NOT NULL, unit_is_time BOOLEAN NOT NULL, unit_name VARCHAR(255) NOT NULL, unit_value FLOAT NOT NULL, base_value FLOAT NOT NULL, INDEX(Project_id) ); -- +goose StatementEnd -- +goose Down -- +goose StatementBegin DROP TABLE activity; -- +goose StatementEnd