typeorm 0.3.12-dev.8731858 → 0.3.12-dev.adce698

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.
@@ -2031,7 +2031,7 @@ class PostgresQueryRunner extends BaseQueryRunner_1.BaseQueryRunner {
2031
2031
  dbColumn["column_default"];
2032
2032
  }
2033
2033
  else {
2034
- tableColumn.default = dbColumn["column_default"].replace(/::[\w\s\.\[\]\"]+/g, "");
2034
+ tableColumn.default = dbColumn["column_default"].replace(/::.+/g, "");
2035
2035
  tableColumn.default =
2036
2036
  tableColumn.default.replace(/^(-?\d+)$/, "'$1'");
2037
2037
  }