pub fn initialize_database(conn: &Connection) -> Result<()>Expand description
Establish the legacy graph prerequisites before applying ordered migrations.
The caller owns connection tuning and durability; this sets no PRAGMAs. Bootstrap never clears existing rows or rebuilds derived data. Its transaction serializes the initial statistics seed; all pending versioned migrations then run together in their own transaction, so a failure publishes no partial migration version. Call before readers or workers start using the database.