CREATE TABLE account_tags_history (
    history_event_id BIGSERIAL PRIMARY KEY,
    history_user_id text NOT NULL,
    history_originator_id text,
    history_action text NOT NULL,
    history_timestamp integer NOT NULL,
    history_comment text,

    tag_id uuid NOT NULL,
    object_id bigint NOT NULL,
    tag character varying(50) NOT NULL,
    data text NOT NULL,
    performer character varying(50),
    priority integer,
    snapshot text,
    filter text
);
