[Koha-cvs] koha/updater updatedatabase

Tumer Garip tgarip at neu.edu.tr
Fri May 19 21:31:29 CEST 2006


CVSROOT:	/sources/koha
Module name:	koha
Branch: 	
Changes by:	Tumer Garip <tgarip1957 at savannah.gnu.org>	06/05/19 19:31:29

Modified files:
	updater        : updatedatabase 

Log message:
	Added new fields to auth_header and auth_subfield_table to allow ZEBRA use of authorities and new MARC framework like structure.
	Authority tables are modified to be compatible with new MARC frameworks. This change is part of Authority Linking & Zebra authorities. Requires change in Mysql database. It will break head unless all changes regarding this is implemented. This warning will take place on all commits regarding this

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/koha/koha/updater/updatedatabase.diff?tr1=1.138&tr2=1.139&r1=text&r2=text

Patches:
Index: koha/updater/updatedatabase
diff -u koha/updater/updatedatabase:1.138 koha/updater/updatedatabase:1.139
--- koha/updater/updatedatabase:1.138	Fri May 19 16:51:44 2006
+++ koha/updater/updatedatabase	Fri May 19 19:31:29 2006
@@ -1,6 +1,6 @@
 #!/usr/bin/perl
 
-# $Id: updatedatabase,v 1.138 2006/05/19 16:51:44 alaurin Exp $
+# $Id: updatedatabase,v 1.139 2006/05/19 19:31:29 tgarip1957 Exp $
 
 # Database Updater
 # This script checks for required updates to the database.
@@ -174,6 +174,8 @@
 	itemtypes => { 'imageurl' => 'char(200) NULL'},
 	aqbookfund => { 'branchcode' => 'varchar(4) NULL'},
 	aqbudget => { 'branchcode' => 'varchar(4) NULL'},
+	auth_header => { 'marc' => 'BLOB NOT NULL', 'linkid' => 'BIGINT(20) NULL'},
+	auth_subfield_structure =>{ 'hidden' => 'TINYINT(3) NOT NULL UNSIGNED ZEROFILL', 'kohafield' => 'VARCHAR(45) NOT NULL', 'linkid' =>  'TINYINT(1) NOT NULL UNSIGNED', 'isurl' => 'TINYINT(1) UNSIGNED'},
 #    tablename        => { 'field' => 'fieldtype' },
 );
 
@@ -1574,6 +1576,10 @@
 exit;
 
 # $Log: updatedatabase,v $
+# Revision 1.139  2006/05/19 19:31:29  tgarip1957
+# Added new fields to auth_header and auth_subfield_table to allow ZEBRA use of authorities and new MARC framework like structure.
+# Authority tables are modified to be compatible with new MARC frameworks. This change is part of Authority Linking & Zebra authorities. Requires change in Mysql database. It will break head unless all changes regarding this is implemented. This warning will take place on all commits regarding this
+#
 # Revision 1.138  2006/05/19 16:51:44  alaurin
 # update database for :
 # - new feature ip and printer management





More information about the Koha-cvs mailing list