Skip to main content

apply

Function apply 

Source
pub fn apply(harness: &Harness, dialect: &str, url: &str) -> Result<(), String>
Expand description

Applies the harness’s migrations to the database at url.

§Errors

A human-readable message when the dialect is unsupported, the binary lacks the postgres feature, the server is unreachable, or a migration fails.