Function ensemble::setup

source ·
pub fn setup(database_url: &str) -> Result<(), SetupError>
Expand description

Sets up the database pool.

Errors

Returns an error if the database pool has already been initialized, or if the provided database URL is invalid.