Added some column types conversion for WPMU support

git-svn-id: https://plugins.svn.wordpress.org/postgresql-for-wordpress/trunk@429285 b8457f37-d9ea-0310-8a92-e5e31aec5664
This commit is contained in:
hawk__
2011-08-27 00:36:48 +00:00
parent 0dbc95e1a1
commit fb9bcadebd

View File

@ -25,6 +25,12 @@
// WP 2.7.1 compatibility
'int(4)' => 'smallint',
// For WPMU (starting with WP 3.2)
'tinyint(2)' => 'smallint',
'tinyint(1)' => 'smallint',
"enum('0','1')" => 'smallint',
);
function pg4wp_installing( $sql, &$logto)