From 021d320d72be7ba89464ab7ba88020d8f7eb19e7 Mon Sep 17 00:00:00 2001 From: Tyler Gottfredsen Date: Tue, 2 Apr 2024 13:49:36 -0500 Subject: [PATCH] Fixing bit IdentifierNode to be boolean instead of buffer --- src/dialects/mssql/mssql-adapter.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/dialects/mssql/mssql-adapter.ts b/src/dialects/mssql/mssql-adapter.ts index 3fa4727..2c92bd4 100644 --- a/src/dialects/mssql/mssql-adapter.ts +++ b/src/dialects/mssql/mssql-adapter.ts @@ -6,7 +6,7 @@ export class MssqlAdapter extends Adapter { override readonly scalars = { bigint: new IdentifierNode('number'), binary: new IdentifierNode('Buffer'), - bit: new IdentifierNode('Buffer'), + bit: new IdentifierNode('boolean'), char: new IdentifierNode('string'), date: new IdentifierNode('Date'), datetime: new IdentifierNode('Date'),