mirror of
https://github.com/launchbadge/sqlx.git
synced 2026-03-23 10:38:57 +00:00
Fix migrate! macro
This commit is contained in:
committed by
Ryan Leckey
parent
85ff651ba1
commit
8b866bb23d
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user