From 2333bd3392e8e56ebf769dadb3197feaf3ae54c9 Mon Sep 17 00:00:00 2001 From: alsadi Date: Tue, 18 Oct 2016 10:11:32 +0300 Subject: [PATCH] convert tinyint to integer not boolean --- db_converter.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/db_converter.py b/db_converter.py index 7f1bc9a..199e997 100644 --- a/db_converter.py +++ b/db_converter.py @@ -113,7 +113,7 @@ def parse(input_filename, output_filename): if type.startswith("tinyint("): type = "int4" set_sequence = True - final_type = "boolean" + final_type = "integer" elif type.startswith("int("): type = "integer" set_sequence = True