3
0
Fork 0

fix: use custom UUID type when generating model class code for FK

This commit is contained in:
Lance Edgar 2026-01-01 14:58:00 -06:00
parent c166ebf070
commit 2b5775b348

View file

@ -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 {