From 15bac22de1bb2af9fb57f6e43e39fa1261998c4d Mon Sep 17 00:00:00 2001 From: Sam Jorobekov Date: Sun, 26 May 2024 13:58:48 +0600 Subject: [PATCH] feat: add uuid to type_converter.ts --- src/adapter/type_converter.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/adapter/type_converter.ts b/src/adapter/type_converter.ts index 7b6b706..baacd68 100644 --- a/src/adapter/type_converter.ts +++ b/src/adapter/type_converter.ts @@ -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`)