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

Antoine Farnault antoine at koha-fr.org
Thu Nov 23 12:01:06 CET 2006


CVSROOT:	/sources/koha
Module name:	koha
Branch:		rel_3_0
Changes by:	Antoine Farnault <toins>	06/11/23 11:01:06

Modified files:
	updater        : updatedatabase 

Log message:
	branchtransfers.frombranch & branchtransfers.tobranch must be VARCHAR(10)

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

Patches:
Index: updatedatabase
===================================================================
RCS file: /sources/koha/koha/updater/updatedatabase,v
retrieving revision 1.157.2.25
retrieving revision 1.157.2.26
diff -u -b -r1.157.2.25 -r1.157.2.26
--- updatedatabase	23 Nov 2006 09:05:33 -0000	1.157.2.25
+++ updatedatabase	23 Nov 2006 11:01:06 -0000	1.157.2.26
@@ -1,6 +1,6 @@
 #!/usr/bin/perl
 
-# $Id: updatedatabase,v 1.157.2.25 2006/11/23 09:05:33 tipaul Exp $
+# $Id: updatedatabase,v 1.157.2.26 2006/11/23 11:01:06 toins Exp $
 
 # Database Updater
 # This script checks for required updates to the database.
@@ -566,6 +566,23 @@
 		    extra   => '',
 		}
 	],
+	branchtransfers =>[
+		{
+			field   => 'frombranch',
+			type    => 'VARCHAR(10)',
+			null    => 'NOT NULL',
+			key     => '',
+			default => '',
+			extra   => '',
+		},	
+		{
+			field   => 'tobranch',
+			type    => 'VARCHAR(10)',
+			null    => 'NOT NULL',
+			key     => '',
+			default => '',
+		}
+	],
 	
 	categories =>  [
 		{
@@ -1975,6 +1992,9 @@
 exit;
 
 # $Log: updatedatabase,v $
+# Revision 1.157.2.26  2006/11/23 11:01:06  toins
+# branchtransfers.frombranch & branchtransfers.tobranch must be VARCHAR(10)
+#
 # Revision 1.157.2.25  2006/11/23 09:05:33  tipaul
 # reintroducing move to innoDB (as only innoDB supports extended features like foreign keys)
 #





More information about the Koha-cvs mailing list