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

Ryan Higgins rch at liblime.com
Tue Nov 14 17:28:02 CET 2006


CVSROOT:	/sources/koha
Module name:	koha
Branch:		rel_3_0
Changes by:	Ryan Higgins <rych>	06/11/14 16:28:02

Modified files:
	updater        : updatedatabase 

Log message:
	Adding itemtype field to items

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

Patches:
Index: updatedatabase
===================================================================
RCS file: /sources/koha/koha/updater/updatedatabase,v
retrieving revision 1.157.2.18
retrieving revision 1.157.2.19
diff -u -b -r1.157.2.18 -r1.157.2.19
--- updatedatabase	14 Nov 2006 16:16:58 -0000	1.157.2.18
+++ updatedatabase	14 Nov 2006 16:28:01 -0000	1.157.2.19
@@ -1,6 +1,6 @@
 #!/usr/bin/perl
 
-# $Id: updatedatabase,v 1.157.2.18 2006/11/14 16:16:58 rych Exp $
+# $Id: updatedatabase,v 1.157.2.19 2006/11/14 16:28:01 rych Exp $
 
 # Database Updater
 # This script checks for required updates to the database.
@@ -694,7 +694,15 @@
 			key		=> '',
 			default	=> '',
 			extra	=> '',
-		}
+		},
+		{
+			field	=> 'itemtype',
+			type	=> 'varchar(10)',
+			null	=> 'NULL',
+			key		=> '',
+			default	=> '',
+			extra	=> '',
+		},
 	],
 	itemtypes => [
 	    {
@@ -1924,6 +1932,9 @@
 exit;
 
 # $Log: updatedatabase,v $
+# Revision 1.157.2.19  2006/11/14 16:28:01  rych
+# Adding itemtype field to items
+#
 # Revision 1.157.2.18  2006/11/14 16:16:58  rych
 # fix mysql syntax
 #





More information about the Koha-cvs mailing list