Function init_database

Source
pub async fn init_database() -> Result<Surreal<Db>>
Expand description

Initialize the database with the necessary tables.

ยงErrors

This function will return an error if the database cannot be initialized.