mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-03-03 01:21:42 +01:00
Updates to some tables_current and setup_inc files
This commit is contained in:
parent
e10d2f4650
commit
7827d25bfe
@ -13,6 +13,7 @@
|
||||
|
||||
/* The hooks this app includes, needed for hooks registration */
|
||||
$setup_info['addressbook']['hooks'][] = 'preferences';
|
||||
$setup_info['addressbook']['hooks'][] = 'admin';
|
||||
|
||||
/* Dependacies for this app to work */
|
||||
$setup_info['addressbook']['depends'][] = array(
|
||||
|
@ -82,10 +82,15 @@
|
||||
</tr>
|
||||
|
||||
<tr bgcolor="e6e6e6">
|
||||
<td>LDAP context:</td>
|
||||
<td>LDAP accounts context:</td>
|
||||
<td><input name="newsettings[ldap_context]" value="<?php echo $current_config["ldap_context"]; ?>" size="40"></td>
|
||||
</tr>
|
||||
|
||||
<tr bgcolor="e6e6e6">
|
||||
<td>LDAP groups context:</td>
|
||||
<td><input name="newsettings[ldap_group_context]" value="<?php echo $current_config["ldap_group_context"]; ?>" size="40"></td>
|
||||
</tr>
|
||||
|
||||
<tr bgcolor="e6e6e6">
|
||||
<td>LDAP root dn:</td>
|
||||
<td><input name="newsettings[ldap_root_dn]" value="<?php echo $current_config["ldap_root_dn"]; ?>" size="40"></td>
|
||||
|
@ -4,7 +4,14 @@
|
||||
$setup_info['admin']['version'] = '0.9.11';
|
||||
$setup_info['admin']['app_order'] = 1;
|
||||
$setup_info['admin']['tables'] = '';
|
||||
$hooks = Array();
|
||||
$hooks_string = implode (',', $hooks);
|
||||
$setup_info['admin']['hooks'] = $hooks_string;
|
||||
|
||||
/* The hooks this app includes, needed for hooks registration */
|
||||
$setup_info['admin']['hooks'][] = 'preferences';
|
||||
$setup_info['admin']['hooks'][] = 'admin';
|
||||
|
||||
/* Dependacies for this app to work */
|
||||
$setup_info['admin']['depends'][] = array(
|
||||
'appname' => 'phpgwapi',
|
||||
'versions' => Array('0.9.10', '0.9.11' , '0.9.12')
|
||||
);
|
||||
?>
|
||||
|
@ -8,7 +8,14 @@
|
||||
$setup_info['calendar']['tables'][] = 'phpgw_cal_holidays';
|
||||
$setup_info['calendar']['tables'][] = 'phpgw_cal_repeats';
|
||||
$setup_info['calendar']['tables'][] = 'phpgw_cal_user';
|
||||
$hooks = Array();
|
||||
$hooks_string = implode (',', $hooks);
|
||||
$setup_info['calendar']['hooks'] = $hooks_string;
|
||||
|
||||
/* The hooks this app includes, needed for hooks registration */
|
||||
$setup_info['calendar']['hooks'][] = 'preferences';
|
||||
|
||||
/* Dependencies for this app to work */
|
||||
$setup_info['calendar']['depends'][] = array(
|
||||
'appname' => 'phpgwapi',
|
||||
'versions' => Array('0.9.10', '0.9.11' , '0.9.12')
|
||||
);
|
||||
|
||||
?>
|
||||
|
@ -15,63 +15,63 @@
|
||||
'phpgw_cal' => array(
|
||||
'fd' => array(
|
||||
'cal_id' => array('type' => 'auto','nullable' => False),
|
||||
'owner' => array('type' => 'int', 'precision' => 11,'nullable' => False),
|
||||
'category' => array('type' => 'int', 'precision' => 11,'nullable' => False),
|
||||
'owner' => array('type' => 'int', 'precision' => 8,'nullable' => False),
|
||||
'category' => array('type' => 'int', 'precision' => 8,'nullable' => False),
|
||||
'groups' => array('type' => 'varchar', 'precision' => 255,'nullable' => True),
|
||||
'datetime' => array('type' => 'int', 'precision' => 11,'nullable' => True),
|
||||
'mdatetime' => array('type' => 'int', 'precision' => 11,'nullable' => True),
|
||||
'edatetime' => array('type' => 'int', 'precision' => 11,'nullable' => True),
|
||||
'priority' => array('type' => 'int', 'precision' => 11,'nullable' => False,'default' => '2'),
|
||||
'datetime' => array('type' => 'int', 'precision' => 8,'nullable' => True),
|
||||
'mdatetime' => array('type' => 'int', 'precision' => 8,'nullable' => True),
|
||||
'edatetime' => array('type' => 'int', 'precision' => 8,'nullable' => True),
|
||||
'priority' => array('type' => 'int', 'precision' => 8,'nullable' => False,'default' => '2'),
|
||||
'cal_type' => array('type' => 'varchar', 'precision' => 10,'nullable' => True),
|
||||
'is_public' => array('type' => 'int', 'precision' => 11,'nullable' => False,'default' => '1'),
|
||||
'is_public' => array('type' => 'int', 'precision' => 8,'nullable' => False,'default' => '1'),
|
||||
'title' => array('type' => 'varchar', 'precision' => 80,'nullable' => False,'default' => '1'),
|
||||
'description' => array('type' => 'text','nullable' => True,'default' => '1')
|
||||
'description' => array('type' => 'text','nullable' => True)
|
||||
),
|
||||
'pk' => array('cal_id'),
|
||||
'fk' => array(''),
|
||||
'ix' => array(''),
|
||||
'uc' => array('')
|
||||
'fk' => array(),
|
||||
'ix' => array(),
|
||||
'uc' => array()
|
||||
),
|
||||
'phpgw_cal_holidays' => array(
|
||||
'fd' => array(
|
||||
'hol_id' => array('type' => 'auto','nullable' => False),
|
||||
'locale' => array('type' => 'char', 'precision' => 2,'nullable' => False),
|
||||
'name' => array('type' => 'varchar', 'precision' => 50,'nullable' => False),
|
||||
'mday' => array('type' => 'int', 'precision' => 11,'nullable' => False),
|
||||
'month_num' => array('type' => 'int', 'precision' => 11,'nullable' => False),
|
||||
'occurence' => array('type' => 'int', 'precision' => 11,'nullable' => False),
|
||||
'dow' => array('type' => 'int', 'precision' => 11,'nullable' => False),
|
||||
'observance_rule' => array('type' => 'int', 'precision' => 11,'nullable' => False)
|
||||
'mday' => array('type' => 'int', 'precision' => 8,'nullable' => False),
|
||||
'month_num' => array('type' => 'int', 'precision' => 8,'nullable' => False),
|
||||
'occurence' => array('type' => 'int', 'precision' => 8,'nullable' => False),
|
||||
'dow' => array('type' => 'int', 'precision' => 8,'nullable' => False),
|
||||
'observance_rule' => array('type' => 'int', 'precision' => 8,'nullable' => False)
|
||||
),
|
||||
'pk' => array('hol_id'),
|
||||
'fk' => array(''),
|
||||
'ix' => array(''),
|
||||
'uc' => array('')
|
||||
'fk' => array(),
|
||||
'ix' => array(),
|
||||
'uc' => array()
|
||||
),
|
||||
'phpgw_cal_repeats' => array(
|
||||
'fd' => array(
|
||||
'cal_id' => array('type' => 'int', 'precision' => 11,'nullable' => False),
|
||||
'recur_type' => array('type' => 'int', 'precision' => 11,'nullable' => False),
|
||||
'recur_use_end' => array('type' => 'int', 'precision' => 11,'nullable' => True),
|
||||
'recur_enddate' => array('type' => 'int', 'precision' => 11,'nullable' => True),
|
||||
'recur_interval' => array('type' => 'int', 'precision' => 11,'nullable' => True,'default' => '1'),
|
||||
'recur_data' => array('type' => 'int', 'precision' => 11,'nullable' => True,'default' => '1')
|
||||
'cal_id' => array('type' => 'int', 'precision' => 8,'nullable' => False),
|
||||
'recur_type' => array('type' => 'int', 'precision' => 8,'nullable' => False),
|
||||
'recur_use_end' => array('type' => 'int', 'precision' => 8,'nullable' => True),
|
||||
'recur_enddate' => array('type' => 'int', 'precision' => 8,'nullable' => True),
|
||||
'recur_interval' => array('type' => 'int', 'precision' => 8,'nullable' => True,'default' => '1'),
|
||||
'recur_data' => array('type' => 'int', 'precision' => 8,'nullable' => True,'default' => '1')
|
||||
),
|
||||
'pk' => array(''),
|
||||
'fk' => array(''),
|
||||
'ix' => array(''),
|
||||
'uc' => array('')
|
||||
'pk' => array(),
|
||||
'fk' => array(),
|
||||
'ix' => array(),
|
||||
'uc' => array()
|
||||
),
|
||||
'phpgw_cal_user' => array(
|
||||
'fd' => array(
|
||||
'cal_id' => array('type' => 'int', 'precision' => 11,'nullable' => False),
|
||||
'cal_login' => array('type' => 'int', 'precision' => 11,'nullable' => False),
|
||||
'cal_id' => array('type' => 'int', 'precision' => 8,'nullable' => False),
|
||||
'cal_login' => array('type' => 'int', 'precision' => 8,'nullable' => False),
|
||||
'cal_status' => array('type' => 'char', 'precision' => 1,'nullable' => True,'default' => 'A')
|
||||
),
|
||||
'pk' => array('cal_id','cal_login'),
|
||||
'fk' => array(''),
|
||||
'ix' => array(''),
|
||||
'uc' => array('')
|
||||
'fk' => array(),
|
||||
'ix' => array(),
|
||||
'uc' => array()
|
||||
)
|
||||
);
|
||||
?>
|
||||
|
@ -2,7 +2,7 @@
|
||||
/* Basic information about this app */
|
||||
$setup_info['phpgwapi']['name'] = 'phpgwapi';
|
||||
$setup_info['phpgwapi']['title'] = 'phpgwapi';
|
||||
$setup_info['phpgwapi']['version'] = '0.9.11';
|
||||
$setup_info['phpgwapi']['version'] = '0.9.12.001';
|
||||
// $setup_info['phpgwapi']['app_order'] = '6';
|
||||
|
||||
/* The tables this app creates */
|
||||
|
@ -11,12 +11,10 @@
|
||||
|
||||
/* $Id$ */
|
||||
|
||||
$phpgw_info['setup']['currentver']['phpgwapi'] = '0.9.11.010';
|
||||
|
||||
$phpgw_baseline = array(
|
||||
'phpgw_config' => array(
|
||||
'fd' => array(
|
||||
'config_app' => array('type' => 'varchar', 'precision' => 50)
|
||||
'config_app' => array('type' => 'varchar', 'precision' => 50),
|
||||
'config_name' => array('type' => 'varchar', 'precision' => 255, 'nullable' => false),
|
||||
'config_value' => array('type' => 'varchar', 'precision' => 100)
|
||||
),
|
||||
@ -64,7 +62,8 @@
|
||||
'account_lastloginfrom' => array('type' => 'varchar', 'precision' => 255),
|
||||
'account_lastpwd_change' => array('type' => 'int', 'precision' => 4),
|
||||
'account_status' => array('type' => 'char', 'precision' => 1, 'nullable' => false, 'default' => 'A'),
|
||||
'account_expires' => array('type' => 'int', 'precision' => 4)
|
||||
'account_expires' => array('type' => 'int', 'precision' => 4),
|
||||
'account_type' => array('type' => 'char', 'precision' => 1, 'nullable' => true)
|
||||
),
|
||||
'pk' => array('account_id'),
|
||||
'fk' => array(),
|
||||
@ -76,7 +75,7 @@
|
||||
'preference_owner' => array('type' => 'varchar', 'precision' => 20, 'nullable' => false),
|
||||
'preference_value' => array('type' => 'text')
|
||||
),
|
||||
'pk' => array('preference_owner', 'preference_name'),
|
||||
'pk' => array('preference_owner'),
|
||||
'fk' => array(),
|
||||
'ix' => array(),
|
||||
'uc' => array()
|
||||
@ -85,10 +84,9 @@
|
||||
'fd' => array(
|
||||
'session_id' => array('type' => 'varchar', 'precision' => 255, 'nullable' => false),
|
||||
'session_lid' => array('type' => 'varchar', 'precision' => 20),
|
||||
'session_pwd' => array('type' => 'varchar', 'precision' => 255),
|
||||
'session_ip' => array('type' => 'varchar', 'precision' => 255),
|
||||
'session_logintime' => array('type' => 'varchar', 'precision' => 4),
|
||||
'session_dla' => array('type' => 'varchar', 'precision' => 4)
|
||||
'session_dla' => array('type' => 'varchar', 'precision' => 4),
|
||||
'session_action' => array('type' => 'varchar', 'precision' => 255),
|
||||
'session_flags' => array('type' => 'char', 'precision' => 2),
|
||||
),
|
||||
@ -136,19 +134,6 @@
|
||||
'fk' => array(),
|
||||
'uc' => array()
|
||||
),
|
||||
'phpgw_categories' => array(
|
||||
'fd' => array(
|
||||
'cat_id' => array('type' => 'auto', 'nullable' => false),
|
||||
'account_id' => array('type' => 'int', 'precision' => 4, 'nullable' => false, 'default' => '0'),
|
||||
'app_name' => array('type' => 'varchar', 'precision' => 25, 'nullable' => false),
|
||||
'cat_name' => array('type' => 'varchar', 'precision' => 150, 'nullable' => false),
|
||||
'cat_description' => array('type' => 'text', 'nullable' => false)
|
||||
),
|
||||
'pk' => array('cat_id'),
|
||||
'ix' => array(),
|
||||
'fk' => array(),
|
||||
'uc' => array()
|
||||
),
|
||||
'languages' => array(
|
||||
'fd' => array(
|
||||
'lang_id' => array('type' => 'varchar', 'precision' => 2, 'nullable' => false),
|
||||
@ -174,7 +159,7 @@
|
||||
),
|
||||
'phpgw_nextid' => array(
|
||||
'fd' => array(
|
||||
'id' => array('type' => 'int', 'nullable' => true),
|
||||
'id' => array('type' => 'int', 'precision' => 4, 'nullable' => true),
|
||||
'appname' => array('type' => 'varchar', 'precision' => 25, 'nullable' => false),
|
||||
),
|
||||
'pk' => array(),
|
||||
@ -184,11 +169,11 @@
|
||||
),
|
||||
'phpgw_categories' => array(
|
||||
'fd' => array(
|
||||
'cat_id' => array('type' => 'auto', 'precision' => 9, 'default' => 0, 'nullable' => false),
|
||||
'cat_main' => array('type' => 'int', 'precision' => 9, 'default' => 0, 'nullable' => false),
|
||||
'cat_parent' => array('type' => 'int', 'precision' => 9, 'default' => 0, 'nullable' => false),
|
||||
'cat_level' => array('type' => 'int', 'precision' => 3, 'default' =>0, 'nullable' => false),
|
||||
'cat_owner' => array('type' => 'int', 'precision' => 11, 'default' => 0, 'nullable' => false),
|
||||
'cat_id' => array('type' => 'auto', 'precision' => 8, 'default' => 0, 'nullable' => false),
|
||||
'cat_main' => array('type' => 'int', 'precision' => 8, 'default' => 0, 'nullable' => false),
|
||||
'cat_parent' => array('type' => 'int', 'precision' => 8, 'default' => 0, 'nullable' => false),
|
||||
'cat_level' => array('type' => 'int', 'precision' => 4, 'default' =>0, 'nullable' => false),
|
||||
'cat_owner' => array('type' => 'int', 'precision' => 8, 'default' => 0, 'nullable' => false),
|
||||
'cat_access' => array('type' => 'char', 'precision' => 7),
|
||||
'cat_appname' => array('type' => 'varchar', 'precision' => 50, 'nullable' => false),
|
||||
'cat_name' => array('type' => 'varchar', 'precision' => 150, 'nullable' => false),
|
||||
|
@ -48,7 +48,7 @@
|
||||
|
||||
$oProc->AlterColumn($table, $field, array("type" => "int", "precision" => 4, "nullable" => false, "default" => 0));
|
||||
}
|
||||
|
||||
|
||||
$test[] = "0.9.3pre4";
|
||||
function phpgwapi_upgrade0_9_3pre4()
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user