continuous-integration/drone/push Build is passing
Co-authored-by: Gisle Aune <dev@gisle.me> Reviewed-on: #1 Co-authored-by: gisle <gisle@hidden-email> Co-committed-by: gisle <gisle@hidden-email>
18 lines
377 B
SQL
18 lines
377 B
SQL
-- +goose Up
|
|
-- +goose StatementBegin
|
|
CREATE TABLE scene
|
|
(
|
|
id INT NOT NULL AUTO_INCREMENT,
|
|
name VARCHAR(255) NOT NULL,
|
|
interval_ms INT NOT NULL,
|
|
roles JSON NOT NULL,
|
|
|
|
PRIMARY KEY (id)
|
|
);
|
|
-- +goose StatementEnd
|
|
|
|
-- +goose Down
|
|
-- +goose StatementBegin
|
|
DROP TABLE scene;
|
|
-- +goose StatementEnd
|