koha-cvs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Koha-cvs] koha/updater updatedatabase


From: paul poulain
Subject: [Koha-cvs] koha/updater updatedatabase
Date: Tue, 26 Jun 2007 13:25:37 +0000

CVSROOT:        /sources/koha
Module name:    koha
Changes by:     paul poulain <tipaul>   07/06/26 13:25:37

Modified files:
        updater        : updatedatabase 

Log message:
        removing some useless tables from updatedatabase

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

Patches:
Index: updatedatabase
===================================================================
RCS file: /sources/koha/koha/updater/updatedatabase,v
retrieving revision 1.169
retrieving revision 1.170
diff -u -b -r1.169 -r1.170
--- updatedatabase      26 Jun 2007 09:23:26 -0000      1.169
+++ updatedatabase      26 Jun 2007 13:25:37 -0000      1.170
@@ -1,6 +1,6 @@
 #!/usr/bin/perl
 
-# $Id: updatedatabase,v 1.169 2007/06/26 09:23:26 tipaul Exp $
+# $Id: updatedatabase,v 1.170 2007/06/26 13:25:37 tipaul Exp $
 
 # Database Updater
 # This script checks for required updates to the database.
@@ -52,21 +52,6 @@
 
 # Tables to add if they don't exist
 my %requiretables = (
-    categorytable       => "(categorycode char(5) NOT NULL default '',
-                             description text default '',
-                             itemtypecodes text default '',
-                             PRIMARY KEY (categorycode)
-                            )",
-    subcategorytable       => "(subcategorycode char(5) NOT NULL default '',
-                             description text default '',
-                             itemtypecodes text default '',
-                             PRIMARY KEY (subcategorycode)
-                            )",
-    mediatypetable       => "(mediatypecode char(5) NOT NULL default '',
-                             description text default '',
-                             itemtypecodes text default '',
-                             PRIMARY KEY (mediatypecode)
-                            )",
     action_logs     => "(
                     `timestamp` TIMESTAMP NOT NULL ,
                     `user` INT( 11 ) NOT NULL ,
@@ -175,10 +160,6 @@
                             datereviewed datetime,
                             PRIMARY KEY (reviewid)
                             )",
-    borrowers_to_borrowers  => "(
-                            borrower1 integer,
-                            borrower2 integer
-                            )",
     subscriptionroutinglist=>"(
                              routingid integer NOT NULL auto_increment,
                              borrowernumber integer,
@@ -2067,6 +2048,9 @@
 exit;
 
 # $Log: updatedatabase,v $
+# Revision 1.170  2007/06/26 13:25:37  tipaul
+# removing some useless tables from updatedatabase
+#
 # Revision 1.169  2007/06/26 09:23:26  tipaul
 # improving OpacBrowser systempref explanation
 #




reply via email to

[Prev in Thread] Current Thread [Next in Thread]