Skip to content

Commit

Permalink
add default number type to integer
Browse files Browse the repository at this point in the history
  • Loading branch information
invisal committed Oct 22, 2024
1 parent 91e7b5e commit 620169e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/connections/sql-base.ts
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ export abstract class SqlConnection extends Connection {

mapDataType(dataType: string): string {
if (dataType === ColumnDataType.ID) return 'INTEGER';
if (dataType === ColumnDataType.NUMBER) return 'INTEGER';
return dataType;
}

Expand Down

0 comments on commit 620169e

Please sign in to comment.