@gzl10/nexus-backend 0.16.6 → 0.16.7

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.
package/dist/cli.js CHANGED
@@ -23222,7 +23222,15 @@ function normalizeColumnType(type2) {
23222
23222
  "TIME": "TIME",
23223
23223
  "JSON": "JSON",
23224
23224
  "JSONB": "JSON",
23225
- "UUID": "UUID"
23225
+ "UUID": "UUID",
23226
+ // PostgreSQL specific
23227
+ "CHARACTER VARYING": "STRING",
23228
+ "TIMESTAMP WITHOUT TIME ZONE": "DATETIME",
23229
+ "TIMESTAMP WITH TIME ZONE": "DATETIME",
23230
+ // MySQL specific
23231
+ "TINYINT": "BOOLEAN",
23232
+ "LONGTEXT": "TEXT",
23233
+ "MEDIUMTEXT": "TEXT"
23226
23234
  };
23227
23235
  return typeMap[normalized] || normalized;
23228
23236
  }