-- +goose Up
-- +goose StatementBegin
CREATE TABLE device_assignment
(
    id           CHAR(36)  NOT NULL PRIMARY KEY,
    created_date TIMESTAMP NOT NULL,
    `match`      TEXT      NOT NULL,
    effect       JSON      NOT NULL
);
-- +goose StatementEnd

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