CREATE TABLE user_documents_checks (
    user_id uuid NOT NULL,
    type text NOT NULL,
    status text,
    meta json,

    PRIMARY KEY (user_id, type),
    FOREIGN KEY(user_id) REFERENCES "user"(id)
);
