Skip to main content

init

Function init 

Source
pub fn init(
    database_url: &str,
    config_path: &Path,
) -> Result<InitOutcome, String>
Expand description

Self-migrates the database (embedded migrations) and scaffolds a config file if one is missing.