drizzle-kit 0.9.16 → 0.9.17
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/index.js +1 -1
- package/package.json +1 -1
package/index.js
CHANGED
|
@@ -234360,7 +234360,7 @@ var CreateTypeEnumConvertor = class extends Convertor {
|
|
|
234360
234360
|
return `
|
|
234361
234361
|
DO $$ BEGIN
|
|
234362
234362
|
CREATE TYPE ${enumName} AS ENUM${valuesStatement};
|
|
234363
|
-
|
|
234363
|
+
EXCEPTION
|
|
234364
234364
|
WHEN duplicate_object THEN null;
|
|
234365
234365
|
END $$;
|
|
234366
234366
|
`.replace(/ +/g, " ").trim();
|