From 6857f26b80d4ebafdec96620f80dddde658a1edd Mon Sep 17 00:00:00 2001 From: Mihail Shumilov Date: Thu, 15 Jan 2015 22:06:10 +0200 Subject: [PATCH] added longtext type support --- Convertor.class.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Convertor.class.php b/Convertor.class.php index e6be01d..4de80e7 100644 --- a/Convertor.class.php +++ b/Convertor.class.php @@ -208,7 +208,7 @@ private function convert_field_data($attrs) $fieldStr .= "real "; } elseif ($attrs['Type'] == "datetime") { $fieldStr .= "timestamp "; - } elseif (($attrs['Type'] == "mediumtext") || ($attrs['Type'] == "tinytext") + } elseif (( $attrs['Type'] == "mediumtext" ) || ( $attrs['Type'] == "tinytext" ) || ( $attrs['Type'] == "longtext" ) ) { $fieldStr .= "text "; } elseif (substr($attrs['Type'], 0, 4) == "enum") {