Fix migrate! macro

This commit is contained in:
Evgeny Nosov
2021-02-03 14:12:44 +03:00
committed by Ryan Leckey
parent 85ff651ba1
commit 8b866bb23d
2 changed files with 4 additions and 2 deletions

View File

@@ -60,8 +60,9 @@ impl Migrator {
}
/// Specify should ignore applied migrations that missing in the resolved migrations.
pub fn set_ignore_missing(&mut self, ignore_missing: bool) {
pub fn set_ignore_missing(&mut self, ignore_missing: bool) -> &Self {
self.ignore_missing = ignore_missing;
self
}
/// Get an iterator over all known migrations.