From 465cdf2a4123cdf58d8813a18d66d5f658134b24 Mon Sep 17 00:00:00 2001 From: tivvit Date: Sun, 31 Aug 2014 12:47:22 +0200 Subject: [PATCH] added support for smallint --- db_converter.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/db_converter.py b/db_converter.py index 439957b..6afdfaf 100644 --- a/db_converter.py +++ b/db_converter.py @@ -120,6 +120,9 @@ def parse(input_filename, output_filename): elif type.startswith("bigint("): type = "bigint" set_sequence = True + elif type.startswith("tinyint("): + type = "smallint" + set_sequence = True elif type == "longtext": type = "text" elif type == "mediumtext":