[Koha-cvs] koha/updater updatedatabase

Henri-Damien LAURENT laurenthdl at alinto.com
Thu Jul 19 12:21:22 CEST 2007


CVSROOT:	/cvsroot/koha
Module name:	koha
Changes by:	Henri-Damien LAURENT <hdl>	07/07/19 10:21:22

Modified files:
	updater        : updatedatabase 

Log message:
	Adding some new fields to biblioitems:
	collectiontitle
	collectionissn
	collectionvolume
	
	Changing publicationyear to text.

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/koha/updater/updatedatabase?cvsroot=koha&r1=1.171&r2=1.172

Patches:
Index: updatedatabase
===================================================================
RCS file: /cvsroot/koha/koha/updater/updatedatabase,v
retrieving revision 1.171
retrieving revision 1.172
diff -u -b -r1.171 -r1.172
--- updatedatabase	2 Jul 2007 02:30:16 -0000	1.171
+++ updatedatabase	19 Jul 2007 10:21:22 -0000	1.172
@@ -1,6 +1,6 @@
 #!/usr/bin/perl
 
-# $Id: updatedatabase,v 1.171 2007/07/02 02:30:16 rangi Exp $
+# $Id: updatedatabase,v 1.172 2007/07/19 10:21:22 hdl Exp $
 
 # Database Updater
 # This script checks for required updates to the database.
@@ -739,6 +739,49 @@
             default => '',
             extra   => '',
         },
+        {
+            field   => 'publicationyear',
+            type    => 'text',
+            null    => 'null',
+            default => '',
+            extra   => '',
+        },
+        {
+            field   => 'collectiontitle',
+            type    => 'mediumtext',
+            null    => 'null',
+            default => '',
+            extra   => '',
+        },
+        {
+            field   => 'collectionissn',
+            type    => 'mediumtext',
+            null    => 'null',
+            default => '',
+            extra   => '',
+        },
+        {
+            field   => 'collectionvolume',
+            type    => 'mediumtext',
+            null    => 'null',
+            default => '',
+            extra   => '',
+        },
+        {
+            field   => 'editionstatement',
+            type    => 'text',
+            null    => 'null',
+            default => '',
+            extra   => '',
+        },
+        {
+            field   => 'editionresponsability',
+            type    => 'text',
+            null    => 'null',
+            default => '',
+            extra   => '',
+        },
+              
     ],
     deletedbiblioitems => [
         {
@@ -2056,6 +2099,15 @@
 exit;
 
 # $Log: updatedatabase,v $
+# Revision 1.172  2007/07/19 10:21:22  hdl
+# Adding some new fields to biblioitems:
+# collectiontitle
+# collectionissn
+# collectionvolume
+#
+#
+# Changing publicationyear to text.
+#
 # Revision 1.171  2007/07/02 02:30:16  rangi
 # Fix for bug 1296, making surnames uppercase a systems preference
 #





More information about the Koha-cvs mailing list