typeorm 0.3.8-dev.3a533a4 → 0.3.8-dev.64674e6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1557,6 +1557,11 @@ class MysqlQueryRunner extends BaseQueryRunner_1.BaseQueryRunner {
1557
1557
  tableColumn.name = dbColumn["COLUMN_NAME"];
1558
1558
  tableColumn.type =
1559
1559
  dbColumn["DATA_TYPE"].toLowerCase();
1560
+ // since mysql 8.0, "geometrycollection" returned as "geomcollection"
1561
+ // typeorm still use "geometrycollection"
1562
+ if (tableColumn.type === "geomcollection") {
1563
+ tableColumn.type = "geometrycollection";
1564
+ }
1560
1565
  tableColumn.zerofill =
1561
1566
  dbColumn["COLUMN_TYPE"].indexOf("zerofill") !==
1562
1567
  -1;