Remove NOT NULL for new columns in biblioitems as they
authorJoshua Ferraro <jmf@liblime.com>
Sun, 30 Sep 2007 23:59:25 +0000 (18:59 -0500)
committerChris Cormack <crc@liblime.com>
Mon, 1 Oct 2007 00:17:51 +0000 (19:17 -0500)
Signed-off-by: Chris Cormack <crc@liblime.com>
installer/kohastructure.sql

index 7a07868..789ed74 100644 (file)
@@ -391,11 +391,11 @@ CREATE TABLE `biblioitems` (
   `publishercode` varchar(255) default NULL,
   `volumedate` date default NULL,
   `volumeddesc` text,
-  `collectiontitle` mediumtext NOT NULL,
-  `collectionissn` text NOT NULL,
-  `collectionvolume` mediumtext NOT NULL,
-  `editionstatement` text NOT NULL,
-  `editionresponsibility` text NOT NULL,
+  `collectiontitle` mediumtext default NULL,
+  `collectionissn` text default NULL,
+  `collectionvolume` mediumtext default NULL,
+  `editionstatement` text default NULL,
+  `editionresponsibility` text default NULL,
   `timestamp` timestamp NOT NULL default CURRENT_TIMESTAMP on update CURRENT_TIMESTAMP,
   `illus` varchar(255) default NULL,
   `pages` varchar(255) default NULL,