pub fn delete_version(conn: &Connection, version_id: i64) -> Result<()>Expand description
Delete a version by ID, clearing its bit from every entity and relation so the freed slot can be safely reused by a future version. Runs in a single transaction: either the version row and all its bits go, or nothing does.