Remove Default character set

This commit is contained in:
mattbucci
2024-01-08 04:22:59 +00:00
parent aca566b8bf
commit 5f27c893b3
3 changed files with 53 additions and 6 deletions
+2 -2
View File
@@ -16,7 +16,7 @@ class AlterTableSQLRewriter extends AbstractSQLRewriter
'default \'0000-00-00 00:00:00\'' => 'DEFAULT now()',
'\'0000-00-00 00:00:00\'' => 'now()',
' datetime' => ' timestamp',
'DEFAULT CHARACTER SET utf8' => '',
' DEFAULT CHARACTER SET utf8' => '',
// WP 2.7.1 compatibility
' int(4)' => ' smallint',
@@ -25,7 +25,7 @@ class AlterTableSQLRewriter extends AbstractSQLRewriter
' tinyint(2)' => ' smallint',
' tinyint(1)' => ' smallint',
" enum('0','1')" => ' smallint',
' COLLATE utf8_general_ci' => ' ',
' COLLATE utf8_general_ci' => '',
// For flash-album-gallery plugin
' tinyint' => ' smallint'