Fix name of connector on cockroach in migration_lock.toml
@@ -119,8 +119,12 @@ impl SqlFlavour for PostgresFlavour {
}
fn connector_type(&self) -> &'static str {
+ if self.is_cockroach {
+ "cockroachdb"
+ } else {
"postgresql"
}
+ }
fn datamodel_connector(&self) -> &'static dyn datamodel::datamodel_connector::Connector {
sql_datamodel_connector::POSTGRES
