File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -102,7 +102,7 @@ impl Migrator {
102102 }
103103
104104 /// 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 {
106106 self . ignore_missing = ignore_missing;
107107 self
108108 }
@@ -115,7 +115,7 @@ impl Migrator {
115115 ///
116116 /// This should only be used if the database does not support locking, e.g. CockroachDB which talks the Postgres
117117 /// 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 {
119119 self . locking = locking;
120120 self
121121 }
You can’t perform that action at this time.
0 commit comments