Commiting BUG FIX for 2.2.7.1.

(changing tagorder to int(11) instead of tinyint)
This commit is contained in:
toins 2007-02-12 10:53:11 +00:00
parent 2f7cf89078
commit db8b86fd28
1 changed files with 3 additions and 120 deletions

View File

@ -320,8 +320,6 @@ my %requiretables = (
status tinyint(4) NOT NULL default '0',
planneddate date NOT NULL default '0000-00-00',
publishedddate date NOT NULL default '0000-00-00',
routingnotes text,
claimdate date default NULL,
PRIMARY KEY (serialid)
)",
subscription => "(biblionumber int(11) NOT NULL default '0',
@ -335,10 +333,7 @@ my %requiretables = (
monthlength tinyint(4) default '0',
numberlength tinyint(4) default '0',
periodicity tinyint(4) default '0',
firstacquidate date default '0000-00-00',
dow varchar(100) default '',
numberpattern int(4) default '0',
irregularity varchar(255) default NULL,
numberingmethod varchar(100) default '',
notes text,
status varchar(100) NOT NULL default '',
@ -360,8 +355,6 @@ my %requiretables = (
whenmorethan3 int(11) default 0,
setto3 int(11),
lastvalue3 int(11),
hemisphere int(1) default '1',
callnumber varchar(100) default NULL,
PRIMARY KEY (subscriptionid)
)",
subscriptionhistory => "(biblionumber int(11) NOT NULL default '0',
@ -372,17 +365,9 @@ my %requiretables = (
recievedlist longtext NOT NULL,
opacnote varchar(150) NOT NULL default '',
librariannote varchar(150) NOT NULL default '',
lastbranch varchar(15) default NULL,
PRIMARY KEY (subscriptionid),
KEY biblionumber (biblionumber)
)",
subscriptionroutinglist => "(routingid int(11) NOT NULL default null auto_increment,
subscriptionid int(11) NOT NULL default '0',
borrowernumber int(11) NOT NULL default '0',
ranking int(11) NOT NULL default '0',
numberpattern varchar(100) default null,
PRIMARY KEY (routingid)
)",
labels => "(labelid int(11) NOT NULL auto_increment,
itemnumber varchar(100) NOT NULL default '',
timestamp timestamp(14) NOT NULL,
@ -1388,19 +1373,6 @@ my %tabledata = (
'If set, a new item will be automatically added when receiving an issue',
type => 'YesNo',
},
{
uniquefieldrequired => 'variable',
variable => 'RoutingSerials',
value => '0',
forceupdate => {
'explanation' => 1,
'
type' => 1
},
explanation =>
'If set, you will have access to routing serials',
type => 'YesNo',
},
{
uniquefieldrequired => 'variable',
variable => 'advancedMARCeditor',
@ -1454,17 +1426,6 @@ my %tabledata = (
type => 'YesNo',
value =>0,
},
{
uniquefieldrequired => 'variable',
variable => 'LibraryAddress',
forceupdate => {
'explanation' => 1,
'type' => 1
},
value => '',
explanation => 'The library physical adddress - for displaying in print slip',
type => 'Textarea'
},
],
@ -1536,64 +1497,6 @@ my %fielddefinitions = (
default => '',
extra => ''
},
{
field => 'routingnotes',
type => 'text',
null => 'NOT NULL',
key => '',
default => '',
extra => ''
},
{
field => 'claimdate',
type => 'date',
null => 'NULL',
key => '',
default => '',
extra => ''
},
],
subscription => [
{
field => 'firstacquidate',
type => 'date',
null => 'NOT NULL',
key => '',
default => '0000-00-00',
extra => ''
},
{
field => 'numberpattern',
type => 'int(4)',
null => 'NOT NULL',
key => '',
default => '0',
extra => ''
},
{
field => 'irregularity',
type => 'varchar(255)',
null => 'NULL',
key => '',
default => '',
extra => ''
},
{
field => 'hemisphere',
type => 'int(1)',
null => 'NOT NULL',
key => '',
default => '1',
extra => ''
},
{
field => 'callnumber',
type => 'varchar(100)',
null => 'NULL',
key => '',
default => '',
extra => ''
},
],
biblioitems => [
{
@ -1605,16 +1508,6 @@ my %fielddefinitions = (
extra => ''
},
],
subscriptionhistory => [
{
field => 'lastbranch',
type => 'varchar(15)',
null => 'NULL',
key => '',
default => '',
extra => ''
},
],
auth_header =>[
{
field => 'authtrees',
@ -2303,20 +2196,10 @@ $sth->finish;
exit;
# $Log$
# Revision 1.100.2.59 2007/02/08 09:25:41 tipaul
# changing tagorder to int(11) instead of tinyint
# Revision 1.100.2.54.2.1 2007/02/12 10:53:11 toins
# Commiting BUG FIX for 2.2.7.1.
#
# Revision 1.100.2.58 2007/01/31 20:39:03 bob_lyon
# adding in style changes to the print slip receipt layout
#
# Revision 1.100.2.57 2006/11/27 04:24:17 bob_lyon
# Adding in column to track the last branch used for a serial to save librarian having to select each time
#
# Revision 1.100.2.56 2006/11/26 23:38:47 bob_lyon
# Adding in new columns for serial and subscription tables so they update existing database tables
#
# Revision 1.100.2.55 2006/11/24 00:23:22 bob_lyon
# Adding in the updated files for the routing serials
# (changing tagorder to int(11) instead of tinyint)
#
# Revision 1.100.2.54 2006/08/31 14:37:04 tipaul
# fix for :