diff --git a/application/helpers/update/updatedb_helper.php b/application/helpers/update/updatedb_helper.php index 282c66cf7de..de85eda228a 100644 --- a/application/helpers/update/updatedb_helper.php +++ b/application/helpers/update/updatedb_helper.php @@ -531,7 +531,7 @@ function db_upgrade_all($iOldDBVersion, $bSilent=false) { 'name' => 'string(128)', 'description' => 'text', 'active' => 'int DEFAULT 0', - 'settings' => 'text DEFAULT ""', + 'settings' => 'text', 'permission' => 'string(128) NOT NULL', 'permission_grade' => 'string(128) NOT NULL' ] @@ -541,8 +541,8 @@ function db_upgrade_all($iOldDBVersion, $bSilent=false) { 'teid' => 'pk', 'tid' => 'int NOT NULL', 'title' => 'text', - 'content' => 'text DEFAULT ""', - 'settings' => 'text DEFAULT ""' + 'content' => 'text', + 'settings' => 'text' ] ); $oDB->createCommand()->update('{{settings_global}}',array('stg_value'=>321),"stg_name='DBVersion'"); diff --git a/installer/create-database.php b/installer/create-database.php index 4cb567d45c5..5baac5b0a7a 100644 --- a/installer/create-database.php +++ b/installer/create-database.php @@ -765,7 +765,7 @@ function createDatabase($oDB){ 'name' => 'string(128)', 'description' => 'text', 'active' => 'int DEFAULT 0', - 'settings' => 'text DEFAULT ""', + 'settings' => 'text', 'permission' => 'string(128) NOT NULL', 'permission_grade' => 'string(128) NOT NULL' ] @@ -777,8 +777,8 @@ function createDatabase($oDB){ 'teid' => 'pk', 'tid' => 'int NOT NULL', 'title' => 'text', - 'content' => 'text DEFAULT ""', - 'settings' => 'text DEFAULT ""' + 'content' => 'text', + 'settings' => 'text' ] );