migration_scripts

Function migration_scripts 

Source
pub fn migration_scripts<M: RustEmbed>() -> Result<Vec<MigrationScript>, MigrationError>
Expand description

Retrieve MigrationScript’s from type that implements rust_embed::RustEmbed.

§Errors

Returns error if it is unable to parse the contents of any of the migration script files.