diff --git a/packages/server/src/integrations/mysql.ts b/packages/server/src/integrations/mysql.ts index 136d84361a..1cd9a356b3 100644 --- a/packages/server/src/integrations/mysql.ts +++ b/packages/server/src/integrations/mysql.ts @@ -151,6 +151,9 @@ class MySQLIntegration extends Sql implements DatasourcePlus { ) { return field.string() } + if (field.type === "BIT" && field.length === 1) { + return field.buffer()?.[0] + } return next() }, }