[Koha-cvs] CVS: koha/updater updatedatabase,1.63,1.64

Chris Cormack rangi at users.sourceforge.net
Thu Oct 23 22:33:55 CEST 2003


Update of /cvsroot/koha/koha/updater
In directory sc8-pr-cvs1:/tmp/cvs-serv8901/updater

Modified Files:
	updatedatabase 
Log Message:
Making the borrowenumber an auto_increment field


Index: updatedatabase
===================================================================
RCS file: /cvsroot/koha/koha/updater/updatedatabase,v
retrieving revision 1.63
retrieving revision 1.64
diff -C2 -r1.63 -r1.64
*** updatedatabase	20 Oct 2003 16:13:01 -0000	1.63
--- updatedatabase	23 Oct 2003 20:33:53 -0000	1.64
***************
*** 801,804 ****
--- 801,807 ----
  $dbh->do("ALTER TABLE `marc_breeding` CHANGE `z3950random` `z3950random` VARCHAR( 40 )");
  
+ # making borrowernumber an auto_increment field
+ $dbh->do("ALTER TABLE `borrowers` CHANGE `borrowernumber` `borrowernumber` INTEGER auto_increment");
+ 
  # extending the timestamp in branchtransfers...
  my %branchtransfers;
***************
*** 920,923 ****
--- 923,929 ----
  
  # $Log$
+ # Revision 1.64  2003/10/23 20:33:53  rangi
+ # Making the borrowenumber an auto_increment field
+ #
  # Revision 1.63  2003/10/20 16:13:01  slef
  # Omitted annotation added. Closes: 624





More information about the Koha-cvs mailing list