@mikro-orm/postgresql 6.4.11-dev.6 → 6.4.11-dev.8

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.
@@ -253,10 +253,14 @@ class PostgreSqlSchemaHelper extends knex_1.SchemaHelper {
253
253
  if (row.schema_name && row.schema_name !== this.platform.getDefaultSchemaName()) {
254
254
  name = row.schema_name + '.' + name;
255
255
  }
256
+ let items = row.enum_value;
257
+ if (!Array.isArray(items)) {
258
+ items = this.platform.unmarshallArray(row.enum_value);
259
+ }
256
260
  o[name] = {
257
261
  name: row.enum_name,
258
262
  schema: row.schema_name,
259
- items: this.platform.unmarshallArray(row.enum_value),
263
+ items,
260
264
  };
261
265
  return o;
262
266
  }, {});
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mikro-orm/postgresql",
3
- "version": "6.4.11-dev.6",
3
+ "version": "6.4.11-dev.8",
4
4
  "description": "TypeScript ORM for Node.js based on Data Mapper, Unit of Work and Identity Map patterns. Supports MongoDB, MySQL, PostgreSQL and SQLite databases as well as usage with vanilla JavaScript.",
5
5
  "main": "index.js",
6
6
  "module": "index.mjs",
@@ -58,7 +58,7 @@
58
58
  "access": "public"
59
59
  },
60
60
  "dependencies": {
61
- "@mikro-orm/knex": "6.4.11-dev.6",
61
+ "@mikro-orm/knex": "6.4.11-dev.8",
62
62
  "pg": "8.14.1",
63
63
  "postgres-array": "3.0.4",
64
64
  "postgres-date": "2.1.0",
@@ -68,6 +68,6 @@
68
68
  "@mikro-orm/core": "^6.4.10"
69
69
  },
70
70
  "peerDependencies": {
71
- "@mikro-orm/core": "6.4.11-dev.6"
71
+ "@mikro-orm/core": "6.4.11-dev.8"
72
72
  }
73
73
  }