Bug 7688: (follow-up) correct SQL to create the subscription table

Columns referring to a foreign key must have matching
types.

Signed-off-by: Galen Charlton <gmc@esilibrary.com>
This commit is contained in:
Galen Charlton 2013-10-30 02:40:14 +00:00
parent f0aef5e044
commit 98706270cd

View file

@ -2040,7 +2040,7 @@ CREATE TABLE `subscription` (
`weeklength` int(11) default 0,
`monthlength` int(11) default 0,
`numberlength` int(11) default 0,
`periodicity` tinyint(4) default 0,
`periodicity` integer default null,
countissuesperunit INTEGER NOT NULL DEFAULT 1,
`notes` mediumtext,
`status` varchar(100) NOT NULL default '',
@ -2055,7 +2055,7 @@ CREATE TABLE `subscription` (
`irregularity` text,
skip_serialseq BOOLEAN NOT NULL DEFAULT 0,
`letter` varchar(20) default NULL,
`numberpattern` tinyint(3) default 0,
`numberpattern` integer default null,
locale VARCHAR(80) DEFAULT NULL,
`distributedto` text,
`internalnotes` longtext,