koha-cvs
[Top][All Lists]
Advanced

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

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


From: Antoine Farnault
Subject: [Koha-cvs] koha/updater updatedatabase [rel_3_0]
Date: Tue, 09 Jan 2007 14:09:01 +0000

CVSROOT:        /sources/koha
Module name:    koha
Branch:         rel_3_0
Changes by:     Antoine Farnault <toins>        07/01/09 14:09:01

Modified files:
        updater        : updatedatabase 

Log message:
        2 field added to opac_news.('expirationdate' and 'displayed'). 

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

Patches:
Index: updatedatabase
===================================================================
RCS file: /sources/koha/koha/updater/updatedatabase,v
retrieving revision 1.157.2.41
retrieving revision 1.157.2.42
diff -u -b -r1.157.2.41 -r1.157.2.42
--- updatedatabase      22 Dec 2006 17:11:33 -0000      1.157.2.41
+++ updatedatabase      9 Jan 2007 14:09:01 -0000       1.157.2.42
@@ -1,6 +1,6 @@
 #!/usr/bin/perl
 
-# $Id: updatedatabase,v 1.157.2.41 2006/12/22 17:11:33 tipaul Exp $
+# $Id: updatedatabase,v 1.157.2.42 2007/01/09 14:09:01 toins Exp $
 
 # Database Updater
 # This script checks for required updates to the database.
@@ -864,6 +864,23 @@
             extra  => '',
         },
     ],
+    opac_news => [
+        {
+            field  => 'expirationdate',
+            type   => 'date',
+            null   => 'null',
+            key    => '',
+            extra  => '',
+        },
+        {
+            field   => 'displayed',
+            type    => 'int(1)',
+            null    => 'NOT NULL',
+            key     => '',
+            default => '1',
+            extra   => '',
+        },
+    ],
     reserves =>  [
         {
             field    => 'waitingdate',
@@ -2076,6 +2093,9 @@
 exit;
 
 # $Log: updatedatabase,v $
+# Revision 1.157.2.42  2007/01/09 14:09:01  toins
+# 2 field added to opac_news.('expirationdate' and 'displayed').
+#
 # Revision 1.157.2.41  2006/12/22 17:11:33  tipaul
 # adding 3 systempreferences for opac features & a new systempref tab where 
all systempreferences are located
 #




reply via email to

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