File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -102,7 +102,7 @@ impl Migrator {
102
102
}
103
103
104
104
/// Specify whether applied migrations that are missing from the resolved migrations should be ignored.
105
- pub fn set_ignore_missing ( & mut self , ignore_missing : bool ) -> & Self {
105
+ pub fn set_ignore_missing ( & mut self , ignore_missing : bool ) -> & mut Self {
106
106
self . ignore_missing = ignore_missing;
107
107
self
108
108
}
@@ -115,7 +115,7 @@ impl Migrator {
115
115
///
116
116
/// This should only be used if the database does not support locking, e.g. CockroachDB which talks the Postgres
117
117
/// protocol but does not support advisory locks used by SQLx's migrations support for Postgres.
118
- pub fn set_locking ( & mut self , locking : bool ) -> & Self {
118
+ pub fn set_locking ( & mut self , locking : bool ) -> & mut Self {
119
119
self . locking = locking;
120
120
self
121
121
}
You can’t perform that action at this time.
0 commit comments