Skip to content

Commit 15bac22

Browse files
sjorobekovdziraf
authored andcommitted
feat: add uuid to type_converter.ts
1 parent aba204d commit 15bac22

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/adapter/type_converter.ts

+2-1
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,8 @@ export const databaseTypeToAdminType: TypeConverter = (columnType: string) => {
5353
case 'datetime':
5454
case 'timestamp':
5555
return 'datetime'
56-
56+
case 'uuid':
57+
return 'uuid'
5758
default:
5859
// eslint-disable-next-line no-console
5960
console.warn(`Unexpected type: ${columnType} fallback to string`)

0 commit comments

Comments
 (0)