-- +goose Up
-- +goose StatementBegin
CREATE TABLE device
(
    id           INT          NOT NULL AUTO_INCREMENT,
    bridge_id    INT          NOT NULL,
    internal_id  VARCHAR(255) NOT NULL,
    icon         CHAR         NOT NULL,
    name         VARCHAR(255) NOT NULL,
    capabilities VARCHAR(255) NOT NULL,
    button_names VARCHAR(255) NOT NULL,

    PRIMARY KEY (id)
);
-- +goose StatementEnd

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