CREATE TABLE sender_models (
    id                          UUID        PRIMARY KEY DEFAULT gen_random_uuid(),
    person_id                   UUID        NOT NULL UNIQUE REFERENCES persons(id) ON DELETE CASCADE,
    model_path                  TEXT        NOT NULL,
    accuracy                    DOUBLE PRECISION,
    cer                         DOUBLE PRECISION,
    corrected_lines_at_training INT         NOT NULL DEFAULT 0,
    created_at                  TIMESTAMPTZ NOT NULL DEFAULT now(),
    updated_at                  TIMESTAMPTZ NOT NULL DEFAULT now()
);
