From b145dd56eadd1e7131c4ebe8a7a04d342534171c Mon Sep 17 00:00:00 2001 From: Jeff LADIRAY Date: Tue, 1 Dec 2020 11:07:47 +0100 Subject: [PATCH] fix: handle medium integer type (#506) --- services/analyzer/sequelize-column-type-getter.js | 1 + 1 file changed, 1 insertion(+) diff --git a/services/analyzer/sequelize-column-type-getter.js b/services/analyzer/sequelize-column-type-getter.js index 535659ce..f96f5860 100644 --- a/services/analyzer/sequelize-column-type-getter.js +++ b/services/analyzer/sequelize-column-type-getter.js @@ -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';