typeorm 0.3.8-dev.2e67138 → 0.3.8-dev.5ebc626

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.
@@ -1554,6 +1554,11 @@ export class MysqlQueryRunner extends BaseQueryRunner {
1554
1554
  tableColumn.name = dbColumn["COLUMN_NAME"];
1555
1555
  tableColumn.type =
1556
1556
  dbColumn["DATA_TYPE"].toLowerCase();
1557
+ // sicne mysql 8.0, "geometrycollection" returned as "geomcollection"
1558
+ // typeorm still use "geometrycollection"
1559
+ if (tableColumn.type === "geomcollection") {
1560
+ tableColumn.type = "geometrycollection";
1561
+ }
1557
1562
  tableColumn.zerofill =
1558
1563
  dbColumn["COLUMN_TYPE"].indexOf("zerofill") !==
1559
1564
  -1;