drizzle-kit 0.20.17-e041df8 → 0.20.17-f1d07ae

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/bin.cjs +1 -2
  2. package/package.json +1 -1
package/bin.cjs CHANGED
@@ -94181,9 +94181,8 @@ var init_introspect_pg = __esm({
94181
94181
  const enumStatements = Object.values(schema5.enums).map((it) => {
94182
94182
  const enumSchema3 = schemas[it.schema];
94183
94183
  const paramName = !enumSchema3 || enumSchema3 === "public" ? it.name : `${it.name}In${enumSchema3}`;
94184
- const func = enumSchema3 ? `${enumSchema3}.enum` : "pgEnum";
94185
94184
  const values2 = Object.values(it.values).map((it2) => `'${it2}'`).join(", ");
94186
- return `export const ${withCasing2(paramName, casing2)} = ${func}("${it.name}", [${values2}])
94185
+ return `export const ${withCasing2(paramName, casing2)} = pgEnum("${it.name}", [${values2}])
94187
94186
  `;
94188
94187
  }).join("").concat("\n");
94189
94188
  const schemaStatements = Object.entries(schemas).map((it) => {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "drizzle-kit",
3
- "version": "0.20.17-e041df8",
3
+ "version": "0.20.17-f1d07ae",
4
4
  "repository": "https://github.com/drizzle-team/drizzle-kit-mirror",
5
5
  "author": "Drizzle Team",
6
6
  "license": "MIT",