[Koha-cvs] CVS: koha/updater updatedatabase,1.59,1.60
Paul POULAIN
tipaul at users.sourceforge.net
Wed Oct 1 15:43:50 CEST 2003
Update of /cvsroot/koha/koha/updater
In directory sc8-pr-cvs1:/tmp/cvs-serv16353/updater
Modified Files:
updatedatabase
Log Message:
fixing "z3950daemon not null" problem by changing the field to "null" instead of "not null".
Index: updatedatabase
===================================================================
RCS file: /cvsroot/koha/koha/updater/updatedatabase,v
retrieving revision 1.59
retrieving revision 1.60
diff -C2 -r1.59 -r1.60
*** updatedatabase 30 Sep 2003 16:22:05 -0000 1.59
--- updatedatabase 1 Oct 2003 13:43:48 -0000 1.60
***************
*** 581,585 ****
field => 'z3950random',
type => 'varchar(40)',
! null => '',
key => '',
default => '',
--- 581,585 ----
field => 'z3950random',
type => 'varchar(40)',
! null => 'YES',
key => '',
default => '',
***************
*** 796,799 ****
--- 796,802 ----
$dbh->do("ALTER TABLE `items` CHANGE `barcode` `barcode` VARCHAR( 20 )") unless ($nullenabled{barcode} eq 'YES');
+ # changing z3950daemon field to NULL in marc_breeding
+ $dbh->do("ALTER TABLE `marc_breeding` CHANGE `z3950random` `z3950random` VARCHAR( 40 )");
+
# extending the timestamp in branchtransfers...
my %branchtransfers;
***************
*** 915,918 ****
--- 918,924 ----
# $Log$
+ # Revision 1.60 2003/10/01 13:43:48 tipaul
+ # fixing "z3950daemon not null" problem by changing the field to "null" instead of "not null".
+ #
# Revision 1.59 2003/09/30 16:22:05 tipaul
# adding barcode NOT mandatory feature. Just run updatedatabase to get it.
More information about the Koha-cvs
mailing list