-- +goose Up
-- +goose StatementBegin
CREATE TABLE data_change (
    id TEXT NOT NULL PRIMARY KEY,
    model TEXT NOT NULL,
    op TEXT NOT NULL,
    author TEXT NOT NULL,
    listed BOOLEAN NOT NULL,
    date TIMESTAMP NOT NULL,
    keys TEXT[] NOT NULL,
    objects JSONB NOT NULL
);
-- +goose StatementEnd

-- +goose Down
-- +goose StatementBegin
DROP TABLE IF EXISTS data_change;
-- +goose StatementEnd
