Browse Source

! 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 <sleeping@myperch.org>
Peter Spicer 11 years ago
parent
commit
fb346165b1
3 changed files with 3 additions and 3 deletions
  1. 1 1
      other/install_2-1_mysql.sql
  2. 1 1
      other/install_2-1_postgresql.sql
  3. 1 1
      other/install_2-1_sqlite.sql

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

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