pub async fn restage(
conn: &mut PgConnection,
changeset_id: Uuid,
revision: i32,
entities: &[RestagedEntity],
) -> ModelResult<()>Expand description
Replaces the staged state of entities the changeset has, written at revision. Each row keeps
its base, the live state its first stage built on. Risk reasons are left to
set_risk_reasons.