kohabug 2076: more reconciliation of kohastructure.sql
authorGalen Charlton <galen.charlton@liblime.com>
Mon, 5 May 2008 15:04:27 +0000 (10:04 -0500)
committerJoshua Ferraro <jmf@liblime.com>
Sun, 11 May 2008 10:40:43 +0000 (05:40 -0500)
Changes to kohastructure.sql to sync with changes
made via updatedatabase.pl:

aqbooksellers.name (DB rev 042)
subscription.serialsadditems (DB rev 071)

Signed-off-by: Joshua Ferraro <jmf@liblime.com>
installer/data/mysql/kohastructure.sql

index f8fa31b..f0130c5 100644 (file)
@@ -123,7 +123,7 @@ CREATE TABLE `aqbookfund` (
 DROP TABLE IF EXISTS `aqbooksellers`;
 CREATE TABLE `aqbooksellers` (
   `id` int(11) NOT NULL auto_increment,
-  `name` mediumtext,
+  `name` mediumtext NOT NULL,
   `address1` mediumtext,
   `address2` mediumtext,
   `address3` mediumtext,
@@ -1754,6 +1754,7 @@ CREATE TABLE `subscription` (
   `branchcode` varchar(10) NOT NULL default '',
   `hemisphere` tinyint(3) default 0,
   `lastbranch` varchar(10),
+  `serialsadditems` tinyint(1) NOT NULL default '0',
   PRIMARY KEY  (`subscriptionid`)
 ) ENGINE=InnoDB DEFAULT CHARSET=utf8;