Skip to content

Commit

Permalink
added longtext type support
Browse files Browse the repository at this point in the history
  • Loading branch information
mihailShumilov committed Jan 15, 2015
1 parent 0a4619a commit 6857f26
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Convertor.class.php
Original file line number Diff line number Diff line change
Expand Up @@ -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") {
Expand Down

0 comments on commit 6857f26

Please sign in to comment.