Altered the subscription table changed issues length column from tinyint as it
authorbob_lyon <bob_lyon>
Tue, 11 Apr 2006 22:08:06 +0000 (22:08 +0000)
committerbob_lyon <bob_lyon>
Tue, 11 Apr 2006 22:08:06 +0000 (22:08 +0000)
only allows numbers up to 127 - needs to allow bigger numbers if the sub you're making
is for a daily subscription like a newspaper where the number of issues in a year
will be greater than 127

misc/koha.mysql

index bd64390..a656b24 100644 (file)
@@ -1160,7 +1160,7 @@ CREATE TABLE subscription (
   aqbudgetid int(11) default '0',
   weeklength tinyint(4) default '0',
   monthlength tinyint(4) default '0',
-  numberlength tinyint(4) default '0',
+  numberlength smallint(4) default '0',
   periodicity tinyint(4) default '0',
   dow varchar(100) default '',
   numberingmethod varchar(100) default '',