From e27fd784278cf96f88ca8356cbe2a26087d5b595 Mon Sep 17 00:00:00 2001 From: bob_lyon Date: Mon, 27 Nov 2006 04:24:17 +0000 Subject: [PATCH] Adding in column to track the last branch used for a serial to save librarian having to select each time --- updater/updatedatabase | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/updater/updatedatabase b/updater/updatedatabase index c46ddcf968..84ff86e7d0 100755 --- a/updater/updatedatabase +++ b/updater/updatedatabase @@ -372,6 +372,7 @@ 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) )", @@ -1593,6 +1594,16 @@ my %fielddefinitions = ( extra => '' }, ], + subscriptionhistory => [ + { + field => 'lastbranch', + type => 'varchar(15)', + null => 'NULL', + key => '', + default => '', + extra => '' + }, + ], auth_header =>[ { field => 'authtrees', @@ -2278,6 +2289,9 @@ $sth->finish; exit; # $Log$ +# 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 #