We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent be0fff9 commit 2db2ddaCopy full SHA for 2db2dda
src/server/templates/swift.ts
@@ -309,7 +309,7 @@ const pgTypeToSwiftType = (
309
swiftType = 'Float'
310
} else if (pgType === 'float8') {
311
swiftType = 'Double'
312
- } else if (pgType === 'numeric') {
+ } else if (['numeric', 'decimal'].includes(pgType)) {
313
swiftType = 'Decimal'
314
} else if (pgType === 'uuid') {
315
swiftType = 'UUID'
0 commit comments