Skip to content
This repository has been archived by the owner on Jun 14, 2024. It is now read-only.

Commit

Permalink
fix: handle medium integer type (#506)
Browse files Browse the repository at this point in the history
  • Loading branch information
jeffladiray authored Dec 1, 2020
1 parent 5e0d53f commit b145dd5
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions services/analyzer/sequelize-column-type-getter.js
Original file line number Diff line number Diff line change
Expand Up @@ -109,6 +109,7 @@ function ColumnTypeGetter(databaseConnection, schema, allowWarning = true) {
case typeStartsWith(type, 'INT'):
case typeStartsWith(type, 'SMALLINT'):
case typeStartsWith(type, 'TINYINT'):
case typeStartsWith(type, 'MEDIUMINT'):
return 'INTEGER';
case typeStartsWith(type, 'BIGINT'):
return 'BIGINT';
Expand Down

0 comments on commit b145dd5

Please sign in to comment.