kysely-gen 0.7.0 → 0.8.0

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.
Files changed (2) hide show
  1. package/dist/cli.js +1 -1
  2. package/package.json +1 -1
package/dist/cli.js CHANGED
@@ -110439,7 +110439,7 @@ function transformColumn(column, enums, enumResolver, mapType, options, unknownT
110439
110439
  unknownTypes
110440
110440
  });
110441
110441
  }
110442
- if (column.isAutoIncrement) {
110442
+ if (column.isAutoIncrement || column.hasDefaultValue) {
110443
110443
  type = {
110444
110444
  kind: "generic",
110445
110445
  name: "Generated",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "kysely-gen",
3
- "version": "0.7.0",
3
+ "version": "0.8.0",
4
4
  "description": "Database type generator for Kysely - Supports PostgreSQL, MySQL, SQLite, and MSSQL",
5
5
  "type": "module",
6
6
  "license": "MIT",