fmsystem-commits
[Top][All Lists]
Advanced

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

[Fmsystem-commits] [7811] activitycalendar: fix upgrade script / add mis


From: Sigurd Nes
Subject: [Fmsystem-commits] [7811] activitycalendar: fix upgrade script / add missing colums in tables_current
Date: Tue, 04 Oct 2011 11:42:41 +0000

Revision: 7811
          http://svn.sv.gnu.org/viewvc/?view=rev&root=fmsystem&revision=7811
Author:   sigurdne
Date:     2011-10-04 11:42:39 +0000 (Tue, 04 Oct 2011)
Log Message:
-----------
activitycalendar: fix upgrade script / add missing colums in tables_current

Modified Paths:
--------------
    trunk/activitycalendar/setup/tables_current.inc.php
    trunk/activitycalendar/setup/tables_update.inc.php

Modified: trunk/activitycalendar/setup/tables_current.inc.php
===================================================================
--- trunk/activitycalendar/setup/tables_current.inc.php 2011-10-04 11:20:02 UTC 
(rev 7810)
+++ trunk/activitycalendar/setup/tables_current.inc.php 2011-10-04 11:42:39 UTC 
(rev 7811)
@@ -23,6 +23,8 @@
                                'special_adaptation' => array('type' => 
'bool','nullable' => true,'default' => 'false'),
                                'contact_person_2_address' => array('type' => 
'varchar','precision' => '255'),
                                'contact_person_2_zip' => array('type' => 
'varchar','precision' => '255'),
+                               'frontend' => array('type' => 'bool','nullable' 
=> true,'default' => 'false'),
+                               'new_org' => array('type' => 'bool','nullable' 
=> true,'default' => 'false')
                        ),
                        'pk' => array('id'),
                        'fk' => array(),

Modified: trunk/activitycalendar/setup/tables_update.inc.php
===================================================================
--- trunk/activitycalendar/setup/tables_update.inc.php  2011-10-04 11:20:02 UTC 
(rev 7810)
+++ trunk/activitycalendar/setup/tables_update.inc.php  2011-10-04 11:42:39 UTC 
(rev 7811)
@@ -137,7 +137,8 @@
        {
                
$GLOBALS['phpgw_setup']->oProc->AddColumn('activity_activity','frontend',array(
                        'type' => 'bool',
-                       'default' => 'false'
+                       'nullable' => 'false',
+                       'nullable' => true
                ));
                
                $GLOBALS['setup_info']['activitycalendar']['currentver'] = 
'0.1.6';
@@ -150,6 +151,7 @@
                
$GLOBALS['phpgw_setup']->oProc->AddColumn('activity_activity','new_org',array(
                        'type' => 'bool',
                        'default' => 'false',
+                       'nullable' => true
                ));
                
                $GLOBALS['setup_info']['activitycalendar']['currentver'] = 
'0.1.7';




reply via email to

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