[−][src]Function migrant_lib::new
pub fn new(config: &Config, tag: &str) -> Result<()>
Create a new migration with the given tag
Generated tags will follow the format {DT-STAMP}_{TAG}
Intended only for use when running in "migrant CLI compatibility mode"
where migrations (FileMigration
s) are all files with names following
the expected timestamp formatted name.