CREATE TABLE autocode_fine_photo (
    id uuid PRIMARY KEY NOT NULL,
    serial_id BIGSERIAL,
    fine_id uuid NOT NULL,
    url character varying(256) NOT NULL,
    data_type text not null default 'photo',
    last_modified_at BIGINT NOT NULL,

    FOREIGN KEY (fine_id) REFERENCES "autocode_fine"(id)
);
