From 30a498d60722803d3b9f922fe1477b68dc889ba6 Mon Sep 17 00:00:00 2001 From: jennylee Date: Tue, 15 Apr 2014 11:20:03 -0400 Subject: [PATCH] BUG-14676 New tables created are not created in utf8 format Adding properties to the CREATE TABLE query to set ENGINE InnoDB, CHARSET=utf8 y COLLATE=utf8_general_ci to make all tables has this structure. --- gulliver/system/class.database_mysql.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gulliver/system/class.database_mysql.php b/gulliver/system/class.database_mysql.php index cff8ed2ec..e87b220a0 100755 --- a/gulliver/system/class.database_mysql.php +++ b/gulliver/system/class.database_mysql.php @@ -80,7 +80,7 @@ class database extends database_base if (isset( $aParameters['Null'] ) && $aParameters['Null'] == 'YES') { $sSQL .= ' NULL'; } else { - $sSQL .= ' NOT NULL'; + $sSQL .= ' NOT NULL'; } if (isset( $aParameters['Key'] ) && $aParameters['Key'] == 'PRI') { $sKeys .= $this->sQuoteCharacter . $sColumnName . $this->sQuoteCharacter . ',';