fmsystem-commits
[Top][All Lists]
Advanced

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

[Fmsystem-commits] [7149] activitycaledar: fix setup


From: Sigurd Nes
Subject: [Fmsystem-commits] [7149] activitycaledar: fix setup
Date: Wed, 30 Mar 2011 07:08:47 +0000

Revision: 7149
          http://svn.sv.gnu.org/viewvc/?view=rev&root=fmsystem&revision=7149
Author:   sigurdne
Date:     2011-03-30 07:08:46 +0000 (Wed, 30 Mar 2011)
Log Message:
-----------
activitycaledar: fix setup

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

Modified: trunk/activitycalendar/setup/setup.inc.php
===================================================================
--- trunk/activitycalendar/setup/setup.inc.php  2011-03-30 06:43:52 UTC (rev 
7148)
+++ trunk/activitycalendar/setup/setup.inc.php  2011-03-30 07:08:46 UTC (rev 
7149)
@@ -22,23 +22,28 @@
        /* Dependencies for this app to work */
        $setup_info['activitycalendar']['depends'][] = array(
                'appname' => 'phpgwapi',
-               'versions' => Array('0.9.17', '0.9.18')
+               'versions' => array('0.9.17', '0.9.18')
        );
 
        $setup_info['activitycalendar']['depends'][] = array(
                'appname' => 'booking',
-               'versions' => Array('0.2.00', 
'0.2.01','0.2.02','0.2.03','0.2.04','0.2.05')
+               'versions' => array('0.2.05')
        );
 
        $setup_info['activitycalendar']['depends'][] = array(
                'appname' => 'property',
-               'versions' => Array('0.9.17')
+               'versions' => array('0.9.17')
        );
 
+       $setup_info['activitycalendar']['tables'] = array(
+               'activity_activity',
+               'activity_arena'
+       );
+
+
        /* The hooks this app includes, needed for hooks registration */
 /*     $setup_info['activitycalendar']['hooks'] = array
        (
                'menu'  => 'activitycalendar.menu.get_menu',
                'config'
        );*/
-?>

Modified: trunk/activitycalendar/setup/tables_current.inc.php
===================================================================
--- trunk/activitycalendar/setup/tables_current.inc.php 2011-03-30 06:43:52 UTC 
(rev 7148)
+++ trunk/activitycalendar/setup/tables_current.inc.php 2011-03-30 07:08:46 UTC 
(rev 7149)
@@ -2,16 +2,16 @@
        $phpgw_baseline = array(
                'activity_activity' => array(
                        'fd' => array(
-                               'id' => array('type' => 'auto', 'nullable' => 
FALSE),
-                               'organization_id' => array('type' => 'int', 
'nullable' => True),
-                               'group_id' => array('type' => 'int', 'nullable' 
=> True),
+                               'id' => array('type' => 'auto','precision' => 
4,'nullable' => False),
+                               'organization_id' => array('type' => 'int', 
'precision' => 4, 'nullable' => True),
+                               'group_id' => array('type' => 'int', 
'precision' => 4, 'nullable' => True),
                                'district' => array('type' => 
'varchar','precision' => '255'),
-                               'category' => array('type' => 'int', 'nullable' 
=> True),
-                               'target' => array('type' => 'int', 'nullable' 
=> True),
+                               'category' => array('type' => 'int', 
'precision' => 4, 'nullable' => True),
+                               'target' => array('type' => 'int', 'precision' 
=> 4, 'nullable' => True),
                                'description' => array('type' => 
'varchar','precision' => '255'),
-                               'arena' => array('type' => 'int', 'nullable' => 
True),
-                               'date_start' => array('type' => 'int', 
'precision' => '8', 'nullable' => true),
-                               'date_end' => array('type' => 'int', 
'precision' => '8', 'nullable' => true),
+                               'arena' => array('type' => 'int', 'precision' 
=> 4, 'nullable' => True),
+                               'date_start' => array('type' => 'int', 
'precision' => 4, 'precision' => '8', 'nullable' => true),
+                               'date_end' => array('type' => 'int', 
'precision' => 4, 'precision' => '8', 'nullable' => true),
                                'contact_person_1' => array('type' => 
'varchar','precision' => '255'),
                                'contact_person_2' => array('type' => 
'varchar','precision' => '255')
                        ),
@@ -22,8 +22,8 @@
                ),
                'activity_arena' => array(
                        'fd' => array(
-                               'id' => array('type' => 'auto', 'nullable' => 
FALSE),
-                               'internal_arena_id' => array('type' => 'int', 
'nullable' => True),
+                               'id' => array('type' => 'auto','precision' => 
4,'nullable' => False),
+                               'internal_arena_id' => array('type' => 'int', 
'precision' => 4, 'nullable' => True),
                                'arena_name' => array('type' => 
'varchar','precision' => '255','nullable' => false),
                                'address' => array('type' => 
'varchar','precision' => '255')
                        ),
@@ -33,4 +33,3 @@
                        'uc' => array()
                )
        );
-?>




reply via email to

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