pub async fn check( conn: &mut PgConnection, change_id: Uuid, ) -> AppResult<Readiness>
Checks the dependencies of all revisions of a change order. One query, usable inside the transaction that submits the change.