Sfoglia il codice sorgente

! MySQL at least can get *very* upset if you try to feed it a text column (not a varchar) without a defined value.

Signed-off-by: Peter Spicer <[email protected]>
Peter Spicer 11 anni fa
parent
commit
fb346165b1

+ 1 - 1
other/install_2-1_mysql.sql

@@ -717,7 +717,7 @@ CREATE TABLE {$db_prefix}categories (
 #
 
 INSERT INTO {$db_prefix}categories
-VALUES (1, 0, '{$default_category_name}', 1);
+VALUES (1, 0, '{$default_category_name}', '', 1);
 # --------------------------------------------------------
 
 #

+ 1 - 1
other/install_2-1_postgresql.sql

@@ -927,7 +927,7 @@ CREATE TABLE {$db_prefix}categories (
 #
 
 INSERT INTO {$db_prefix}categories
-VALUES (1, 0, '{$default_category_name}', 1);
+VALUES (1, 0, '{$default_category_name}', '', 1);
 # --------------------------------------------------------
 
 #

+ 1 - 1
other/install_2-1_sqlite.sql

@@ -736,7 +736,7 @@ CREATE TABLE {$db_prefix}categories (
 #
 
 INSERT INTO {$db_prefix}categories
-VALUES (1, 0, '{$default_category_name}', 1);
+VALUES (1, 0, '{$default_category_name}', '', 1);
 # --------------------------------------------------------
 
 #