mutano 3.0.17 → 3.0.18

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/main.js +2 -2
  2. package/package.json +1 -1
package/dist/main.js CHANGED
@@ -957,8 +957,8 @@ function extractPrismaColumnDescriptions(config, entityName, enumDeclarations) {
957
957
  Extra: defaultGenerated ? "auto_increment" : "",
958
958
  Null: isOptional ? "YES" : "NO",
959
959
  Type: fieldType,
960
- Comment: "",
961
- // Prisma doesn't have column comments in the same way
960
+ Comment: field.comment || "",
961
+ // Extract comment from Prisma field
962
962
  EnumOptions: enumOptions
963
963
  };
964
964
  });
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "mutano",
3
3
  "type": "module",
4
- "version": "3.0.17",
4
+ "version": "3.0.18",
5
5
  "description": "Converts Prisma/MySQL/PostgreSQL/SQLite schemas to Zod/TS/Kysely interfaces",
6
6
  "author": "Alisson Cavalcante Agiani <thelinuxlich@gmail.com>",
7
7
  "license": "MIT",