CAST origin_rev_id to avoid schema issues.
We started seeing sporadic schema validation errors after merging !78 (merged):
error: instance type (number) does not match any allowed primitive type (allowed: ["integer"])
level: "error"
schema: {"loadingURI":"#","pointer":"/properties/revision/properties/content_slots/additionalProperties/properties/origin_rev_id"}
instance: {"pointer":"/revision/content_slots/main/origin_rev_id"}
domain: "validation"
keyword: "type"
found: "number"
expected: ["integer"]
Turns out we forgot to CAST origin_rev_id to a MariaDB SIGNED, to avoid a recurrence of T379703.