Browse Source

! Adding description for categories.

Signed-off-by: Peter Spicer <sleeping@myperch.org>
Peter Spicer 11 years ago
parent
commit
1696b6e494

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

@@ -707,6 +707,7 @@ CREATE TABLE {$db_prefix}categories (
   id_cat tinyint(4) unsigned NOT NULL auto_increment,
   cat_order tinyint(4) NOT NULL default '0',
   name varchar(255) NOT NULL default '',
+  description text NOT NULL default
   can_collapse tinyint(1) NOT NULL default '1',
   PRIMARY KEY (id_cat)
 ) ENGINE=MyISAM;

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

@@ -917,6 +917,7 @@ CREATE TABLE {$db_prefix}categories (
   id_cat smallint default nextval('{$db_prefix}categories_seq'),
   cat_order smallint NOT NULL default '0',
   name varchar(255) NOT NULL,
+  description text NOT NULL,
   can_collapse smallint NOT NULL default '1',
   PRIMARY KEY (id_cat)
 );

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

@@ -727,6 +727,7 @@ CREATE TABLE {$db_prefix}categories (
   id_cat integer primary key,
   cat_order smallint NOT NULL default '0',
   name varchar(255) NOT NULL,
+  description text NOT NULL,
   can_collapse smallint NOT NULL default '1'
 );
 

+ 1 - 0
other/install_2-1_sqlite3.sql

@@ -727,6 +727,7 @@ CREATE TABLE {$db_prefix}categories (
   id_cat integer primary key,
   cat_order smallint NOT NULL default '0',
   name varchar(255) NOT NULL,
+  description text NOT NULL,
   can_collapse smallint NOT NULL default '1'
 );