Skip to main content

set_migration

Function set_migration 

Source
pub fn set_migration(target: &Path, id: Option<&str>) -> Result<(), RkError>
Expand description

Set or remove the open migration in the target’s configuration, writing a file that states the key alone where none exists.

§Errors

Refuses a configuration path a symlink redirects, an invalid configuration, and propagates a write failure.