[Koha-cvs] koha/updater updatedatabase [rel_3_0]

Joshua Ferraro jmf at kados.org
Fri Nov 24 22:58:35 CET 2006


CVSROOT:	/sources/koha
Module name:	koha
Branch:		rel_3_0
Changes by:	Joshua Ferraro <kados>	06/11/24 21:58:35

Modified files:
	updater        : updatedatabase 

Log message:
	changing items.itemtype to items.itype to avoid problems with
	joins with biblioitems. NOTE: I don't think updatedatabase will remove the
	items.itemtype from your db so you must do that manually if you updated
	from an earlier version of updatedatabase.

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/koha/updater/updatedatabase?cvsroot=koha&only_with_tag=rel_3_0&r1=1.157.2.28&r2=1.157.2.29

Patches:
Index: updatedatabase
===================================================================
RCS file: /sources/koha/koha/updater/updatedatabase,v
retrieving revision 1.157.2.28
retrieving revision 1.157.2.29
diff -u -b -r1.157.2.28 -r1.157.2.29
--- updatedatabase	24 Nov 2006 13:54:55 -0000	1.157.2.28
+++ updatedatabase	24 Nov 2006 21:58:35 -0000	1.157.2.29
@@ -1,6 +1,6 @@
 #!/usr/bin/perl
 
-# $Id: updatedatabase,v 1.157.2.28 2006/11/24 13:54:55 hdl Exp $
+# $Id: updatedatabase,v 1.157.2.29 2006/11/24 21:58:35 kados Exp $
 
 # Database Updater
 # This script checks for required updates to the database.
@@ -769,7 +769,7 @@
 			extra	=> '',
 		},
 		{
-			field	=> 'itemtype',
+			field	=> 'itype',
 			type	=> 'varchar(10)',
 			null	=> 'NULL',
 			key		=> '',
@@ -2023,6 +2023,12 @@
 exit;
 
 # $Log: updatedatabase,v $
+# Revision 1.157.2.29  2006/11/24 21:58:35  kados
+# changing items.itemtype to items.itype to avoid problems with
+# joins with biblioitems. NOTE: I don't think updatedatabase will remove the
+# items.itemtype from your db so you must do that manually if you updated
+# from an earlier version of updatedatabase.
+#
 # Revision 1.157.2.28  2006/11/24 13:54:55  hdl
 # Adding serialsadditem
 #





More information about the Koha-cvs mailing list