From 1580650d927bde012735d89cce9e59f201a3e446 Mon Sep 17 00:00:00 2001 From: HeCorr <75134774+HeCorr@users.noreply.github.com> Date: Sat, 1 Feb 2025 23:03:33 -0300 Subject: [PATCH] Disable noDefault on UUID type so it is possible to set a default value on UUID columns --- src/data/datatypes.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/data/datatypes.js b/src/data/datatypes.js index eabf26a..9fda287 100644 --- a/src/data/datatypes.js +++ b/src/data/datatypes.js @@ -237,7 +237,7 @@ const defaultTypesBase = { isSized: false, hasCheck: false, hasPrecision: false, - noDefault: true, + noDefault: false, }, ENUM: { type: "ENUM", @@ -1208,7 +1208,7 @@ const postgresTypesBase = { isSized: false, hasPrecision: false, hasQuotes: true, - noDefault: true, + noDefault: false, }, XML: { type: "XML",