me: Enable altering column types on CRDB
Experimental but necessary for a decent migrate experience.
@@ -558,6 +558,8 @@ where
if schema_exists_result.get(0).and_then(|row| row.at(1)).and_then(|v| v.to_string()).map(|version| version.contains("CockroachDB")).unwrap_or(false) {
circumstances |= Circumstances::IsCockroachDb;
+ connection.raw_cmd("SET enable_experimental_alter_column_type_general = true").await?;
+
}
if let Some(true) = schema_exists_result
