Skip to content

Commit

Permalink
feat: add uuid to type_converter.ts
Browse files Browse the repository at this point in the history
  • Loading branch information
sjorobekov authored and dziraf committed May 28, 2024
1 parent aba204d commit 15bac22
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/adapter/type_converter.ts
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,8 @@ export const databaseTypeToAdminType: TypeConverter = (columnType: string) => {
case 'datetime':
case 'timestamp':
return 'datetime'

case 'uuid':
return 'uuid'
default:
// eslint-disable-next-line no-console
console.warn(`Unexpected type: ${columnType} fallback to string`)
Expand Down

0 comments on commit 15bac22

Please sign in to comment.