Skip to main content

create_version

Function create_version 

Source
pub fn create_version(
    db: &Database,
    content_id: i64,
    user_id: Option<i64>,
) -> Result<i64>
Expand description

Create a version snapshot of the current content state. Call this BEFORE applying updates to preserve the previous state.