Commit 504e8b7d authored by Kaleb Elwert's avatar Kaleb Elwert
Browse files

Fix compilation errors

parent ff80738d
......@@ -114,6 +114,9 @@ impl Migration {
sql.push_str(&indices.join(";"));
}
}
&mut CustomLine(ref line) => {
sql.push_str(line);
}
}
sql.push_str(";");
......@@ -131,7 +134,7 @@ impl Migration {
variant.run_for(self)
}
/// Inject a line of custom SQL into the top-level migration scope
///
/// This is a bypass to the barrel typesystem, in case there is
......@@ -143,7 +146,7 @@ impl Migration {
pub fn inject_custom<S: Into<String>>(&mut self, sql: S) {
self.changes.push(DatabaseChange::CustomLine(sql.into()));
}
/// Automatically infer the `down` step of this migration
///
/// Will thrown an error if behaviour is ambiguous or not
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment