Skip to main content

apply

Function apply 

Source
pub fn apply(conn: &Connection, class: TargetClass) -> Result<()>
Expand description

Apply the shared meta + debug + cross-track DDL plus the per-class domain tables. Safe to call on a fresh or existing DB; uses CREATE TABLE IF NOT EXISTS everywhere. Schema-version enforcement happens in SessionDb::open, not here.