From 2b5775b348ff794dfd4a6c491821cd8327545cef Mon Sep 17 00:00:00 2001 From: Lance Edgar Date: Thu, 1 Jan 2026 14:58:00 -0600 Subject: [PATCH] fix: use custom UUID type when generating model class code for FK --- src/wuttaweb/templates/tables/app/create.mako | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/wuttaweb/templates/tables/app/create.mako b/src/wuttaweb/templates/tables/app/create.mako index ca82af9..94cd372 100644 --- a/src/wuttaweb/templates/tables/app/create.mako +++ b/src/wuttaweb/templates/tables/app/create.mako @@ -818,7 +818,7 @@ } else if (dataType.type == 'UUID') { return `UUID()` } else if (dataType.type == '_fk_uuid_') { - return 'sa.String(length=32)' + return `UUID()` } else if (dataType.type == '_other_') { return dataType.literal } else {