CREATE TABLE diffalert.preset (
    id bigserial PRIMARY KEY,
    name text NOT NULL,
    created_at timestamp with time zone NOT NULL DEFAULT now(),
    created_by bigint NOT NULL CHECK (created_by > 0),
    aoi_id bigint NOT NULL CHECK (aoi_id > 0),
    pri_region integer,
    pri_major integer,
    category_group text,
    description text
);
