-- +goose Up
-- +goose StatementBegin
CREATE TABLE device_state
(
    device_id  INT     NOT NULL,
    hue        DOUBLE  NOT NULL,
    saturation DOUBLE  NOT NULL,
    kelvin     INT     NOT NULL,
    power      TINYINT NOT NULL,
    intensity  INT     NOT NULL,

    PRIMARY KEY (device_id)
);

-- +goose StatementEnd

-- +goose Down
-- +goose StatementBegin
DROP TABLE device_state;
-- +goose StatementEnd
