Skip to content

Commit 72d6b03

Browse files
committed
use string for mysql bigint
1 parent daaf539 commit 72d6b03

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/drivers/mysql2.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,8 @@ export function columnType(column?: Column): TypeNode {
1313

1414
switch (column.type.name) {
1515
case "bigint": {
16-
typ = factory.createKeywordTypeNode(SyntaxKind.NumberKeyword);
16+
// string
17+
// enable supportBigNumbers and bigNumberStrings to use bigint support
1718
break;
1819
}
1920
case "binary": {

0 commit comments

Comments
 (0)