[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Phpgroupware-cvs] CVS: phpgwapi/setup setup.inc.php,1.37.2.6.2.2,1.37.
From: |
Ralf Becker <address@hidden> |
Subject: |
[Phpgroupware-cvs] CVS: phpgwapi/setup setup.inc.php,1.37.2.6.2.2,1.37.2.6.2.3 tables_current.inc.php,1.32.2.6.2.1,1.32.2.6.2.2 tables_update.inc.php,1.53.2.9.2.4,1.53.2.9.2.5 |
Date: |
Sun, 27 Apr 2003 19:17:30 -0400 |
Update of /cvsroot/phpgroupware/phpgwapi/setup
In directory subversions:/tmp/cvs-serv26666
Modified Files:
Tag: Version-0_9_16-branch
setup.inc.php tables_current.inc.php tables_update.inc.php
Log Message:
table-update:
- added table phpgw_async for asyncservices
- droped column title from phpgw_applications
so .16 is now identical to head from the db-format
Index: setup.inc.php
===================================================================
RCS file: /cvsroot/phpgroupware/phpgwapi/setup/setup.inc.php,v
retrieving revision 1.37.2.6.2.2
retrieving revision 1.37.2.6.2.3
diff -C2 -r1.37.2.6.2.2 -r1.37.2.6.2.3
*** setup.inc.php 2 Apr 2003 16:56:59 -0000 1.37.2.6.2.2
--- setup.inc.php 27 Apr 2003 23:17:28 -0000 1.37.2.6.2.3
***************
*** 16,20 ****
$setup_info['phpgwapi']['name'] = 'phpgwapi';
$setup_info['phpgwapi']['title'] = 'phpgwapi';
! $setup_info['phpgwapi']['version'] = '0.9.14.501';
$setup_info['phpgwapi']['versions']['current_header'] = '1.23';
$setup_info['phpgwapi']['enable'] = 3;
--- 16,20 ----
$setup_info['phpgwapi']['name'] = 'phpgwapi';
$setup_info['phpgwapi']['title'] = 'phpgwapi';
! $setup_info['phpgwapi']['version'] = '0.9.14.502';
$setup_info['phpgwapi']['versions']['current_header'] = '1.23';
$setup_info['phpgwapi']['enable'] = 3;
***************
*** 22,38 ****
/* The tables this app creates */
- $setup_info['phpgwapi']['tables'][] = 'phpgw_sessions';
- $setup_info['phpgwapi']['tables'][] = 'phpgw_preferences';
- $setup_info['phpgwapi']['tables'][] = 'phpgw_acl';
- $setup_info['phpgwapi']['tables'][] = 'phpgw_hooks';
$setup_info['phpgwapi']['tables'][] = 'phpgw_config';
- $setup_info['phpgwapi']['tables'][] = 'phpgw_categories';
$setup_info['phpgwapi']['tables'][] = 'phpgw_applications';
! $setup_info['phpgwapi']['tables'][] = 'phpgw_app_sessions';
$setup_info['phpgwapi']['tables'][] = 'phpgw_accounts';
$setup_info['phpgwapi']['tables'][] = 'phpgw_access_log';
! $setup_info['phpgwapi']['tables'][] = 'phpgw_lang';
$setup_info['phpgwapi']['tables'][] = 'phpgw_languages';
$setup_info['phpgwapi']['tables'][] = 'phpgw_nextid';
$setup_info['phpgwapi']['tables'][] = 'phpgw_addressbook';
$setup_info['phpgwapi']['tables'][] = 'phpgw_addressbook_extra';
--- 22,38 ----
/* The tables this app creates */
$setup_info['phpgwapi']['tables'][] = 'phpgw_config';
$setup_info['phpgwapi']['tables'][] = 'phpgw_applications';
! $setup_info['phpgwapi']['tables'][] = 'phpgw_acl';
$setup_info['phpgwapi']['tables'][] = 'phpgw_accounts';
+ $setup_info['phpgwapi']['tables'][] = 'phpgw_preferences';
+ $setup_info['phpgwapi']['tables'][] = 'phpgw_sessions';
+ $setup_info['phpgwapi']['tables'][] = 'phpgw_app_sessions';
$setup_info['phpgwapi']['tables'][] = 'phpgw_access_log';
! $setup_info['phpgwapi']['tables'][] = 'phpgw_hooks';
$setup_info['phpgwapi']['tables'][] = 'phpgw_languages';
+ $setup_info['phpgwapi']['tables'][] = 'phpgw_lang';
$setup_info['phpgwapi']['tables'][] = 'phpgw_nextid';
+ $setup_info['phpgwapi']['tables'][] = 'phpgw_categories';
$setup_info['phpgwapi']['tables'][] = 'phpgw_addressbook';
$setup_info['phpgwapi']['tables'][] = 'phpgw_addressbook_extra';
***************
*** 42,45 ****
--- 42,46 ----
$setup_info['phpgwapi']['tables'][] = 'phpgw_vfs';
$setup_info['phpgwapi']['tables'][] = 'phpgw_history_log';
+ $setup_info['phpgwapi']['tables'][] = 'phpgw_async';
/* Basic information about this app */
***************
*** 51,53 ****
$setup_info['notifywindow']['tables'] = '';
$setup_info['notifywindow']['hooks'][] = 'home';
! ?>
--- 52,54 ----
$setup_info['notifywindow']['tables'] = '';
$setup_info['notifywindow']['hooks'][] = 'home';
!
Index: tables_current.inc.php
===================================================================
RCS file: /cvsroot/phpgroupware/phpgwapi/setup/tables_current.inc.php,v
retrieving revision 1.32.2.6.2.1
retrieving revision 1.32.2.6.2.2
diff -C2 -r1.32.2.6.2.1 -r1.32.2.6.2.2
*** tables_current.inc.php 2 Apr 2003 16:56:59 -0000 1.32.2.6.2.1
--- tables_current.inc.php 27 Apr 2003 23:17:28 -0000 1.32.2.6.2.2
***************
*** 16,21 ****
'phpgw_config' => array(
'fd' => array(
! 'config_app' => array('type' => 'varchar',
'precision' => 50),
! 'config_name' => array('type' => 'varchar',
'precision' => 255, 'nullable' => false),
'config_value' => array('type' => 'text')
),
--- 16,21 ----
'phpgw_config' => array(
'fd' => array(
! 'config_app' => array('type' =>
'varchar','precision' => '50'),
! 'config_name' => array('type' =>
'varchar','precision' => '255','nullable' => False),
'config_value' => array('type' => 'text')
),
***************
*** 27,37 ****
'phpgw_applications' => array(
'fd' => array(
! 'app_id' => array('type' => 'auto', 'precision'
=> 4, 'nullable' => false),
! 'app_name' => array('type' => 'varchar',
'precision' => 25, 'nullable' => false),
! 'app_title' => array('type' => 'varchar',
'precision' => 50),
! 'app_enabled' => array('type' => 'int',
'precision' => 4),
! 'app_order' => array('type' => 'int',
'precision' => 4),
! 'app_tables' => array('type' => 'text'),
! 'app_version' => array('type' => 'varchar',
'precision' => 20, 'nullable' => false, 'default' => '0.0')
),
'pk' => array('app_id'),
--- 27,36 ----
'phpgw_applications' => array(
'fd' => array(
! 'app_id' => array('type' => 'auto','precision'
=> '4','nullable' => False),
! 'app_name' => array('type' =>
'varchar','precision' => '25','nullable' => False),
! 'app_enabled' => array('type' =>
'int','precision' => '4','nullable' => False),
! 'app_order' => array('type' =>
'int','precision' => '4','nullable' => False),
! 'app_tables' => array('type' =>
'text','nullable' => False),
! 'app_version' => array('type' =>
'varchar','precision' => '20','nullable' => False,'default' => '0.0')
),
'pk' => array('app_id'),
***************
*** 42,49 ****
'phpgw_acl' => array(
'fd' => array(
! 'acl_appname' => array('type' => 'varchar',
'precision' => 50),
! 'acl_location' => array('type' => 'varchar',
'precision' => 255),
! 'acl_account' => array('type' => 'int',
'precision' => 4),
! 'acl_rights' => array('type' => 'int',
'precision' => 4)
),
'pk' => array(),
--- 41,48 ----
'phpgw_acl' => array(
'fd' => array(
! 'acl_appname' => array('type' =>
'varchar','precision' => '50'),
! 'acl_location' => array('type' =>
'varchar','precision' => '255'),
! 'acl_account' => array('type' =>
'int','precision' => '4'),
! 'acl_rights' => array('type' =>
'int','precision' => '4')
),
'pk' => array(),
***************
*** 54,70 ****
'phpgw_accounts' => array(
'fd' => array(
! 'account_id' => array('type' => 'auto',
'nullable' => false),
! 'account_lid' => array('type' => 'varchar',
'precision' => 25, 'nullable' => false),
! 'account_pwd' => array('type' => 'varchar',
'precision' => 32, 'nullable' => false),
! 'account_firstname' => array('type' =>
'varchar', 'precision' => 50),
! 'account_lastname' => array('type' =>
'varchar', 'precision' => 50),
'account_permissions' => array('type' =>
'text'),
! 'account_groups' => array('type' => 'varchar',
'precision' => 30),
! 'account_lastlogin' => array('type' => 'int',
'precision' => 4),
! '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_type' => array('type' => 'char',
'precision' => 1, 'nullable' => true)
),
'pk' => array('account_id'),
--- 53,69 ----
'phpgw_accounts' => array(
'fd' => array(
! 'account_id' => array('type' =>
'auto','nullable' => False),
! 'account_lid' => array('type' =>
'varchar','precision' => '25','nullable' => False),
! 'account_pwd' => array('type' =>
'varchar','precision' => '32','nullable' => False),
! 'account_firstname' => array('type' =>
'varchar','precision' => '50'),
! 'account_lastname' => array('type' =>
'varchar','precision' => '50'),
'account_permissions' => array('type' =>
'text'),
! 'account_groups' => array('type' =>
'varchar','precision' => '30'),
! 'account_lastlogin' => array('type' =>
'int','precision' => '4'),
! '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_type' => array('type' =>
'char','precision' => '1','nullable' => True)
),
'pk' => array('account_id'),
***************
*** 75,79 ****
'phpgw_preferences' => array(
'fd' => array(
! 'preference_owner' => array('type' =>
'varchar', 'precision' => 20, 'nullable' => false),
'preference_value' => array('type' => 'text')
),
--- 74,78 ----
'phpgw_preferences' => array(
'fd' => array(
! 'preference_owner' => array('type' =>
'varchar','precision' => '20','nullable' => False),
'preference_value' => array('type' => 'text')
),
***************
*** 85,95 ****
'phpgw_sessions' => array(
'fd' => array(
! 'session_id' => array('type' => 'varchar',
'precision' => 255, 'nullable' => false),
! 'session_lid' => array('type' => 'varchar',
'precision' => 255),
! 'session_ip' => array('type' => 'varchar',
'precision' => 255),
! 'session_logintime' => array('type' => 'int',
'precision' => 4),
! 'session_dla' => array('type' => 'int',
'precision' => 4),
! 'session_action' => array('type' => 'varchar',
'precision' => 255),
! 'session_flags' => array('type' => 'char',
'precision' => 2)
),
'pk' => array(),
--- 84,94 ----
'phpgw_sessions' => array(
'fd' => array(
! 'session_id' => array('type' =>
'varchar','precision' => '255','nullable' => False),
! 'session_lid' => array('type' =>
'varchar','precision' => '255'),
! 'session_ip' => array('type' =>
'varchar','precision' => '255'),
! 'session_logintime' => array('type' =>
'int','precision' => '4'),
! 'session_dla' => array('type' =>
'int','precision' => '4'),
! 'session_action' => array('type' =>
'varchar','precision' => '255'),
! 'session_flags' => array('type' =>
'char','precision' => '2')
),
'pk' => array(),
***************
*** 100,109 ****
'phpgw_app_sessions' => array(
'fd' => array(
! 'sessionid' => array('type' => 'varchar',
'precision' => 255, 'nullable' => false),
! 'loginid' => array('type' => 'varchar',
'precision' => 20),
! 'location' => array('type' => 'varchar',
'precision' => 255),
! 'app' => array('type' => 'varchar', 'precision'
=> 20),
'content' => array('type' => 'text'),
! 'session_dla' => array('type' => 'int',
'precision' => 4)
),
'pk' => array(),
--- 99,108 ----
'phpgw_app_sessions' => array(
'fd' => array(
! 'sessionid' => array('type' =>
'varchar','precision' => '255','nullable' => False),
! 'loginid' => array('type' =>
'varchar','precision' => '20'),
! 'location' => array('type' =>
'varchar','precision' => '255'),
! 'app' => array('type' => 'varchar','precision'
=> '20'),
'content' => array('type' => 'text'),
! 'session_dla' => array('type' =>
'int','precision' => '4')
),
'pk' => array(),
***************
*** 114,123 ****
'phpgw_access_log' => array(
'fd' => array(
! 'sessionid' => array('type' => 'char',
'precision' => 32),
! 'loginid' => array('type' => 'varchar',
'precision' => 30),
! 'ip' => array('type' => 'varchar', 'precision'
=> 30),
! 'li' => array('type' => 'int', 'precision' =>
4),
! 'lo' => array('type' => 'varchar', 'precision'
=> 255),
! 'account_id' => array('type' => 'int',
'precision' => 4, 'default' => 0, 'nullable' => False)
),
'pk' => array(),
--- 113,122 ----
'phpgw_access_log' => array(
'fd' => array(
! 'sessionid' => array('type' =>
'char','precision' => '32'),
! 'loginid' => array('type' =>
'varchar','precision' => '30'),
! 'ip' => array('type' => 'varchar','precision'
=> '30'),
! 'li' => array('type' => 'int','precision' =>
'4'),
! 'lo' => array('type' => 'varchar','precision'
=> '255'),
! 'account_id' => array('type' =>
'int','precision' => '4','default' => '0','nullable' => False)
),
'pk' => array(),
***************
*** 128,135 ****
'phpgw_hooks' => array(
'fd' => array(
! 'hook_id' => array('type' => 'auto', 'nullable'
=> false),
! 'hook_appname' => array('type' => 'varchar',
'precision' => 255),
! 'hook_location' => array('type' => 'varchar',
'precision' => 255),
! 'hook_filename' => array('type' => 'varchar',
'precision' => 255)
),
'pk' => array('hook_id'),
--- 127,134 ----
'phpgw_hooks' => array(
'fd' => array(
! 'hook_id' => array('type' => 'auto','nullable'
=> False),
! 'hook_appname' => array('type' =>
'varchar','precision' => '255'),
! 'hook_location' => array('type' =>
'varchar','precision' => '255'),
! 'hook_filename' => array('type' =>
'varchar','precision' => '255')
),
'pk' => array('hook_id'),
***************
*** 140,146 ****
'phpgw_languages' => array(
'fd' => array(
! 'lang_id' => array('type' => 'varchar',
'precision' => 2, 'nullable' => false),
! 'lang_name' => array('type' => 'varchar',
'precision' => 50, 'nullable' => false),
! 'available' => array('type' => 'char',
'precision' => 3, 'nullable' => false, 'default' => 'No')
),
'pk' => array('lang_id'),
--- 139,145 ----
'phpgw_languages' => array(
'fd' => array(
! 'lang_id' => array('type' =>
'varchar','precision' => '2','nullable' => False),
! 'lang_name' => array('type' =>
'varchar','precision' => '50','nullable' => False),
! 'available' => array('type' =>
'char','precision' => '3','nullable' => False,'default' => 'No')
),
'pk' => array('lang_id'),
***************
*** 151,160 ****
'phpgw_lang' => array(
'fd' => array(
! 'message_id' => array('type' => 'varchar',
'precision' => 255, 'nullable' => false, 'default' => ''),
! 'app_name' => array('type' => 'varchar',
'precision' => 100, 'nullable' => false, 'default' => 'common'),
! 'lang' => array('type' => 'varchar',
'precision' => 5, 'nullable' => false, 'default' => ''),
'content' => array('type' => 'text')
),
! 'pk' => array('message_id', 'app_name', 'lang'),
'fk' => array(),
'ix' => array(),
--- 150,159 ----
'phpgw_lang' => array(
'fd' => array(
! 'message_id' => array('type' =>
'varchar','precision' => '255','nullable' => False,'default' => ''),
! 'app_name' => array('type' =>
'varchar','precision' => '100','nullable' => False,'default' => 'common'),
! 'lang' => array('type' => 'varchar','precision'
=> '5','nullable' => False,'default' => ''),
'content' => array('type' => 'text')
),
! 'pk' => array('message_id','app_name','lang'),
'fk' => array(),
'ix' => array(),
***************
*** 163,168 ****
'phpgw_nextid' => array(
'fd' => array(
! 'id' => array('type' => 'int', 'precision' =>
4, 'nullable' => true),
! 'appname' => array('type' => 'varchar',
'precision' => 25, 'nullable' => false)
),
'pk' => array(),
--- 162,167 ----
'phpgw_nextid' => array(
'fd' => array(
! 'id' => array('type' => 'int','precision' =>
'4','nullable' => True),
! 'appname' => array('type' =>
'varchar','precision' => '25','nullable' => False)
),
'pk' => array(),
***************
*** 173,185 ****
'phpgw_categories' => array(
'fd' => array(
! 'cat_id' => array('type' => 'auto', 'precision'
=> 4, 'nullable' => false),
! 'cat_main' => array('type' => 'int',
'precision' => 4, 'default' => 0, 'nullable' => false),
! 'cat_parent' => array('type' => 'int',
'precision' => 4, 'default' => 0, 'nullable' => false),
! 'cat_level' => array('type' => 'int',
'precision' => 2, 'default' => 0, 'nullable' => false),
! 'cat_owner' => array('type' => 'int',
'precision' => 4, 'default' => 0, 'nullable' => false),
! 'cat_access' => array('type' => 'varchar',
'precision' => 7),
! 'cat_appname' => array('type' => 'varchar',
'precision' => 50, 'nullable' => false),
! 'cat_name' => array('type' => 'varchar',
'precision' => 150, 'nullable' => false),
! 'cat_description' => array('type' => 'varchar',
'precision' => 255, 'nullable' => false),
'cat_data' => array('type' => 'text')
),
--- 172,184 ----
'phpgw_categories' => array(
'fd' => array(
! 'cat_id' => array('type' => 'auto','precision'
=> '4','nullable' => False),
! 'cat_main' => array('type' => 'int','precision'
=> '4','default' => '0','nullable' => False),
! 'cat_parent' => array('type' =>
'int','precision' => '4','default' => '0','nullable' => False),
! 'cat_level' => array('type' =>
'int','precision' => '2','default' => '0','nullable' => False),
! 'cat_owner' => array('type' =>
'int','precision' => '4','default' => '0','nullable' => False),
! 'cat_access' => array('type' =>
'varchar','precision' => '7'),
! 'cat_appname' => array('type' =>
'varchar','precision' => '50','nullable' => False),
! 'cat_name' => array('type' =>
'varchar','precision' => '150','nullable' => False),
! 'cat_description' => array('type' =>
'varchar','precision' => '255','nullable' => False),
'cat_data' => array('type' => 'text')
),
***************
*** 192,246 ****
'fd' => array(
'id' => array('type' => 'auto','nullable' =>
False),
! 'lid' => array('type' => 'varchar', 'precision'
=> 32,'nullable' => True),
! 'tid' => array('type' => 'char', 'precision' =>
1,'nullable' => True),
! 'owner' => array('type' => 'int', 'precision'
=> 8,'nullable' => True),
! 'access' => array('type' => 'varchar',
'precision' => 7,'nullable' => True),
! 'cat_id' => array('type' => 'varchar',
'precision' => 32,'nullable' => True),
! 'fn' => array('type' => 'varchar', 'precision'
=> 64,'nullable' => True),
! 'n_family' => array('type' => 'varchar',
'precision' => 64,'nullable' => True),
! 'n_given' => array('type' => 'varchar',
'precision' => 64,'nullable' => True),
! 'n_middle' => array('type' => 'varchar',
'precision' => 64,'nullable' => True),
! 'n_prefix' => array('type' => 'varchar',
'precision' => 64,'nullable' => True),
! 'n_suffix' => array('type' => 'varchar',
'precision' => 64,'nullable' => True),
! 'sound' => array('type' => 'varchar',
'precision' => 64,'nullable' => True),
! 'bday' => array('type' => 'varchar',
'precision' => 32,'nullable' => True),
'note' => array('type' => 'text','nullable' =>
True),
! 'tz' => array('type' => 'varchar', 'precision'
=> 8,'nullable' => True),
! 'geo' => array('type' => 'varchar', 'precision'
=> 32,'nullable' => True),
! 'url' => array('type' => 'varchar', 'precision'
=> 128,'nullable' => True),
'pubkey' => array('type' => 'text','nullable'
=> True),
! 'org_name' => array('type' => 'varchar',
'precision' => 64,'nullable' => True),
! 'org_unit' => array('type' => 'varchar',
'precision' => 64,'nullable' => True),
! 'title' => array('type' => 'varchar',
'precision' => 64,'nullable' => True),
! 'adr_one_street' => array('type' => 'varchar',
'precision' => 64,'nullable' => True),
! 'adr_one_locality' => array('type' =>
'varchar', 'precision' => 64,'nullable' => True),
! 'adr_one_region' => array('type' => 'varchar',
'precision' => 64,'nullable' => True),
! 'adr_one_postalcode' => array('type' =>
'varchar', 'precision' => 64,'nullable' => True),
! 'adr_one_countryname' => array('type' =>
'varchar', 'precision' => 64,'nullable' => True),
! 'adr_one_type' => array('type' => 'varchar',
'precision' => 32,'nullable' => True),
'label' => array('type' => 'text','nullable' =>
True),
! 'adr_two_street' => array('type' => 'varchar',
'precision' => 64,'nullable' => True),
! 'adr_two_locality' => array('type' =>
'varchar', 'precision' => 64,'nullable' => True),
! 'adr_two_region' => array('type' => 'varchar',
'precision' => 64,'nullable' => True),
! 'adr_two_postalcode' => array('type' =>
'varchar', 'precision' => 64,'nullable' => True),
! 'adr_two_countryname' => array('type' =>
'varchar', 'precision' => 64,'nullable' => True),
! 'adr_two_type' => array('type' => 'varchar',
'precision' => 32,'nullable' => True),
! 'tel_work' => array('type' => 'varchar',
'precision' => 40,'nullable' => False,'default' => '+1 (000) 000-0000'),
! 'tel_home' => array('type' => 'varchar',
'precision' => 40,'nullable' => False,'default' => '+1 (000) 000-0000'),
! 'tel_voice' => array('type' => 'varchar',
'precision' => 40,'nullable' => False,'default' => '+1 (000) 000-0000'),
! 'tel_fax' => array('type' => 'varchar',
'precision' => 40,'nullable' => False,'default' => '+1 (000) 000-0000'),
! 'tel_msg' => array('type' => 'varchar',
'precision' => 40,'nullable' => False,'default' => '+1 (000) 000-0000'),
! 'tel_cell' => array('type' => 'varchar',
'precision' => 40,'nullable' => False,'default' => '+1 (000) 000-0000'),
! 'tel_pager' => array('type' => 'varchar',
'precision' => 40,'nullable' => False,'default' => '+1 (000) 000-0000'),
! 'tel_bbs' => array('type' => 'varchar',
'precision' => 40,'nullable' => False,'default' => '+1 (000) 000-0000'),
! 'tel_modem' => array('type' => 'varchar',
'precision' => 40,'nullable' => False,'default' => '+1 (000) 000-0000'),
! 'tel_car' => array('type' => 'varchar',
'precision' => 40,'nullable' => False,'default' => '+1 (000) 000-0000'),
! 'tel_isdn' => array('type' => 'varchar',
'precision' => 40,'nullable' => False,'default' => '+1 (000) 000-0000'),
! 'tel_video' => array('type' => 'varchar',
'precision' => 40,'nullable' => False,'default' => '+1 (000) 000-0000'),
! 'tel_prefer' => array('type' => 'varchar',
'precision' => 32,'nullable' => True),
! 'email' => array('type' => 'varchar',
'precision' => 64,'nullable' => True),
! 'email_type' => array('type' => 'varchar',
'precision' => 32,'nullable' => False,'default' => 'INTERNET'),
! 'email_home' => array('type' => 'varchar',
'precision' => 64,'nullable' => True),
! 'email_home_type' => array('type' => 'varchar',
'precision' => 32,'nullable' => False,'default' => 'INTERNET')
),
'pk' => array('id'),
--- 191,245 ----
'fd' => array(
'id' => array('type' => 'auto','nullable' =>
False),
! 'lid' => array('type' => 'varchar','precision'
=> '32','nullable' => True),
! 'tid' => array('type' => 'char','precision' =>
'1','nullable' => True),
! 'owner' => array('type' => 'int','precision' =>
'8','nullable' => True),
! 'access' => array('type' =>
'varchar','precision' => '7','nullable' => True),
! 'cat_id' => array('type' =>
'varchar','precision' => '32','nullable' => True),
! 'fn' => array('type' => 'varchar','precision'
=> '64','nullable' => True),
! 'n_family' => array('type' =>
'varchar','precision' => '64','nullable' => True),
! 'n_given' => array('type' =>
'varchar','precision' => '64','nullable' => True),
! 'n_middle' => array('type' =>
'varchar','precision' => '64','nullable' => True),
! 'n_prefix' => array('type' =>
'varchar','precision' => '64','nullable' => True),
! 'n_suffix' => array('type' =>
'varchar','precision' => '64','nullable' => True),
! 'sound' => array('type' =>
'varchar','precision' => '64','nullable' => True),
! 'bday' => array('type' => 'varchar','precision'
=> '32','nullable' => True),
'note' => array('type' => 'text','nullable' =>
True),
! 'tz' => array('type' => 'varchar','precision'
=> '8','nullable' => True),
! 'geo' => array('type' => 'varchar','precision'
=> '32','nullable' => True),
! 'url' => array('type' => 'varchar','precision'
=> '128','nullable' => True),
'pubkey' => array('type' => 'text','nullable'
=> True),
! 'org_name' => array('type' =>
'varchar','precision' => '64','nullable' => True),
! 'org_unit' => array('type' =>
'varchar','precision' => '64','nullable' => True),
! 'title' => array('type' =>
'varchar','precision' => '64','nullable' => True),
! 'adr_one_street' => array('type' =>
'varchar','precision' => '64','nullable' => True),
! 'adr_one_locality' => array('type' =>
'varchar','precision' => '64','nullable' => True),
! 'adr_one_region' => array('type' =>
'varchar','precision' => '64','nullable' => True),
! 'adr_one_postalcode' => array('type' =>
'varchar','precision' => '64','nullable' => True),
! 'adr_one_countryname' => array('type' =>
'varchar','precision' => '64','nullable' => True),
! 'adr_one_type' => array('type' =>
'varchar','precision' => '32','nullable' => True),
'label' => array('type' => 'text','nullable' =>
True),
! 'adr_two_street' => array('type' =>
'varchar','precision' => '64','nullable' => True),
! 'adr_two_locality' => array('type' =>
'varchar','precision' => '64','nullable' => True),
! 'adr_two_region' => array('type' =>
'varchar','precision' => '64','nullable' => True),
! 'adr_two_postalcode' => array('type' =>
'varchar','precision' => '64','nullable' => True),
! 'adr_two_countryname' => array('type' =>
'varchar','precision' => '64','nullable' => True),
! 'adr_two_type' => array('type' =>
'varchar','precision' => '32','nullable' => True),
! 'tel_work' => array('type' =>
'varchar','precision' => '40','nullable' => False,'default' => '+1 (000)
000-0000'),
! 'tel_home' => array('type' =>
'varchar','precision' => '40','nullable' => False,'default' => '+1 (000)
000-0000'),
! 'tel_voice' => array('type' =>
'varchar','precision' => '40','nullable' => False,'default' => '+1 (000)
000-0000'),
! 'tel_fax' => array('type' =>
'varchar','precision' => '40','nullable' => False,'default' => '+1 (000)
000-0000'),
! 'tel_msg' => array('type' =>
'varchar','precision' => '40','nullable' => False,'default' => '+1 (000)
000-0000'),
! 'tel_cell' => array('type' =>
'varchar','precision' => '40','nullable' => False,'default' => '+1 (000)
000-0000'),
! 'tel_pager' => array('type' =>
'varchar','precision' => '40','nullable' => False,'default' => '+1 (000)
000-0000'),
! 'tel_bbs' => array('type' =>
'varchar','precision' => '40','nullable' => False,'default' => '+1 (000)
000-0000'),
! 'tel_modem' => array('type' =>
'varchar','precision' => '40','nullable' => False,'default' => '+1 (000)
000-0000'),
! 'tel_car' => array('type' =>
'varchar','precision' => '40','nullable' => False,'default' => '+1 (000)
000-0000'),
! 'tel_isdn' => array('type' =>
'varchar','precision' => '40','nullable' => False,'default' => '+1 (000)
000-0000'),
! 'tel_video' => array('type' =>
'varchar','precision' => '40','nullable' => False,'default' => '+1 (000)
000-0000'),
! 'tel_prefer' => array('type' =>
'varchar','precision' => '32','nullable' => True),
! 'email' => array('type' =>
'varchar','precision' => '64','nullable' => True),
! 'email_type' => array('type' =>
'varchar','precision' => '32','nullable' => False,'default' => 'INTERNET'),
! 'email_home' => array('type' =>
'varchar','precision' => '64','nullable' => True),
! 'email_home_type' => array('type' =>
'varchar','precision' => '32','nullable' => False,'default' => 'INTERNET')
),
'pk' => array('id'),
***************
*** 251,257 ****
'phpgw_addressbook_extra' => array(
'fd' => array(
! 'contact_id' => array('type' => 'int',
'precision' => 4, 'nullable' => True),
! 'contact_owner' => array('type' => 'int',
'precision' => 8,'nullable' => True),
! 'contact_name' => array('type' => 'varchar',
'precision' => 255,'nullable' => True),
'contact_value' => array('type' =>
'text','nullable' => True)
),
--- 250,256 ----
'phpgw_addressbook_extra' => array(
'fd' => array(
! 'contact_id' => array('type' =>
'int','precision' => '4','nullable' => True),
! 'contact_owner' => array('type' =>
'int','precision' => '8','nullable' => True),
! 'contact_name' => array('type' =>
'varchar','precision' => '255','nullable' => True),
'contact_value' => array('type' =>
'text','nullable' => True)
),
***************
*** 263,271 ****
'phpgw_log' => array(
'fd' => array(
! 'log_id' => array('type' => 'auto',
'precision' => 4, 'nullable' => False),
! 'log_date' => array('type' => 'timestamp',
'nullable' => False),
! 'log_user' => array('type' => 'int',
'precision' => 4, 'nullable' => False),
! 'log_app' => array('type' => 'varchar',
'precision' => 50, 'nullable' => False),
! 'log_severity' => array('type' => 'char',
'precision' => 1, 'nullable' => False)
),
'pk' => array('log_id'),
--- 262,270 ----
'phpgw_log' => array(
'fd' => array(
! 'log_id' => array('type' => 'auto','precision'
=> '4','nullable' => False),
! 'log_date' => array('type' =>
'timestamp','nullable' => False),
! 'log_user' => array('type' => 'int','precision'
=> '4','nullable' => False),
! 'log_app' => array('type' =>
'varchar','precision' => '50','nullable' => False),
! 'log_severity' => array('type' =>
'char','precision' => '1','nullable' => False)
),
'pk' => array('log_id'),
***************
*** 276,292 ****
'phpgw_log_msg' => array(
'fd' => array(
! 'log_msg_log_id' => array('type' => 'int',
'precision' => 4, 'nullable' => False),
! 'log_msg_seq_no' => array('type' => 'int',
'precision' => 4, 'nullable' => False),
! 'log_msg_date' => array('type' =>
'timestamp', 'nullable' => False),
! 'log_msg_tx_fid' => array('type' =>
'varchar', 'precision' => 4, 'nullable' => True),
! 'log_msg_tx_id' => array('type' =>
'varchar', 'precision' => 4, 'nullable' => True),
! 'log_msg_severity' => array('type' => 'char',
'precision' => 1, 'nullable' => False),
! 'log_msg_code' => array('type' =>
'varchar', 'precision' => 30, 'nullable' => False),
! 'log_msg_msg' => array('type' => 'text',
'nullable' => False),
! 'log_msg_parms' => array('type' => 'text',
'nullable' => False),
! 'log_msg_file' => array('type' =>
'varchar', 'precision' => 255, 'nullable' => False),
! 'log_msg_line' => array('type' => 'int',
'precision' => 4, 'nullable' => False)
),
! 'pk' => array('log_msg_log_id', 'log_msg_seq_no'),
'fk' => array(),
'ix' => array(),
--- 275,291 ----
'phpgw_log_msg' => array(
'fd' => array(
! 'log_msg_log_id' => array('type' =>
'int','precision' => '4','nullable' => False),
! 'log_msg_seq_no' => array('type' =>
'int','precision' => '4','nullable' => False),
! 'log_msg_date' => array('type' =>
'timestamp','nullable' => False),
! 'log_msg_tx_fid' => array('type' =>
'varchar','precision' => '4','nullable' => True),
! 'log_msg_tx_id' => array('type' =>
'varchar','precision' => '4','nullable' => True),
! 'log_msg_severity' => array('type' =>
'char','precision' => '1','nullable' => False),
! 'log_msg_code' => array('type' =>
'varchar','precision' => '30','nullable' => False),
! 'log_msg_msg' => array('type' =>
'text','nullable' => False),
! 'log_msg_parms' => array('type' =>
'text','nullable' => False),
! 'log_msg_file' => array('type' =>
'varchar','precision' => '255','nullable' => False),
! 'log_msg_line' => array('type' =>
'int','precision' => '4','nullable' => False)
),
! 'pk' => array('log_msg_log_id','log_msg_seq_no'),
'fk' => array(),
'ix' => array(),
***************
*** 295,310 ****
'phpgw_interserv' => array(
'fd' => array(
! 'server_id' => array('type' => 'auto',
'nullable' => False),
! 'server_name' => array('type' => 'varchar',
'precision' => 64, 'nullable' => True),
! 'server_host' => array('type' => 'varchar',
'precision' => 255, 'nullable' => True),
! 'server_url' => array('type' => 'varchar',
'precision' => 255, 'nullable' => True),
! 'trust_level' => array('type' => 'int',
'precision' => 4),
! 'trust_rel' => array('type' => 'int',
'precision' => 4),
! 'username' => array('type' => 'varchar',
'precision' => 64, 'nullable' => True),
! 'password' => array('type' => 'varchar',
'precision' => 255, 'nullable' => True),
! 'admin_name' => array('type' => 'varchar',
'precision' => 255, 'nullable' => True),
! 'admin_email' => array('type' => 'varchar',
'precision' => 255, 'nullable' => True),
! 'server_mode' => array('type' => 'varchar',
'precision' => 16, 'nullable' => False, 'default' => 'xmlrpc'),
! 'server_security' => array('type' => 'varchar',
'precision' => 16,'nullable' => True)
),
'pk' => array('server_id'),
--- 294,309 ----
'phpgw_interserv' => array(
'fd' => array(
! 'server_id' => array('type' =>
'auto','nullable' => False),
! 'server_name' => array('type' =>
'varchar','precision' => '64','nullable' => True),
! 'server_host' => array('type' =>
'varchar','precision' => '255','nullable' => True),
! 'server_url' => array('type' =>
'varchar','precision' => '255','nullable' => True),
! 'trust_level' => array('type' =>
'int','precision' => '4'),
! 'trust_rel' => array('type' =>
'int','precision' => '4'),
! 'username' => array('type' =>
'varchar','precision' => '64','nullable' => True),
! 'password' => array('type' =>
'varchar','precision' => '255','nullable' => True),
! 'admin_name' => array('type' =>
'varchar','precision' => '255','nullable' => True),
! 'admin_email' => array('type' =>
'varchar','precision' => '255','nullable' => True),
! 'server_mode' => array('type' =>
'varchar','precision' => '16','nullable' => False,'default' => 'xmlrpc'),
! 'server_security' => array('type' =>
'varchar','precision' => '16','nullable' => True)
),
'pk' => array('server_id'),
***************
*** 316,334 ****
'fd' => array(
'file_id' => array('type' => 'auto','nullable'
=> False),
! 'owner_id' => array('type' => 'int',
'precision' => 4,'nullable' => False),
! 'createdby_id' => array('type' => 'int',
'precision' => 4,'nullable' => True),
! 'modifiedby_id' => array('type' => 'int',
'precision' => 4,'nullable' => True),
'created' => array('type' => 'date','nullable'
=> False,'default' => '1970-01-01'),
'modified' => array('type' => 'date','nullable'
=> True),
! 'size' => array('type' => 'int', 'precision' =>
4,'nullable' => True),
! 'mime_type' => array('type' => 'varchar',
'precision' => 150,'nullable' => True),
! 'deleteable' => array('type' => 'char',
'precision' => 1,'nullable' => True,'default' => 'Y'),
'comment' => array('type' => 'text','nullable'
=> True),
! 'app' => array('type' => 'varchar', 'precision'
=> 25,'nullable' => True),
'directory' => array('type' =>
'text','nullable' => True),
'name' => array('type' => 'text','nullable' =>
False),
'link_directory' => array('type' =>
'text','nullable' => True),
'link_name' => array('type' =>
'text','nullable' => True),
! 'version' => array('type' => 'varchar',
'precision' => 30,'nullable' => False,'default' => '0.0.0.0')
),
'pk' => array('file_id'),
--- 315,333 ----
'fd' => array(
'file_id' => array('type' => 'auto','nullable'
=> False),
! 'owner_id' => array('type' => 'int','precision'
=> '4','nullable' => False),
! 'createdby_id' => array('type' =>
'int','precision' => '4','nullable' => True),
! 'modifiedby_id' => array('type' =>
'int','precision' => '4','nullable' => True),
'created' => array('type' => 'date','nullable'
=> False,'default' => '1970-01-01'),
'modified' => array('type' => 'date','nullable'
=> True),
! 'size' => array('type' => 'int','precision' =>
'4','nullable' => True),
! 'mime_type' => array('type' =>
'varchar','precision' => '150','nullable' => True),
! 'deleteable' => array('type' =>
'char','precision' => '1','nullable' => True,'default' => 'Y'),
'comment' => array('type' => 'text','nullable'
=> True),
! 'app' => array('type' => 'varchar','precision'
=> '25','nullable' => True),
'directory' => array('type' =>
'text','nullable' => True),
'name' => array('type' => 'text','nullable' =>
False),
'link_directory' => array('type' =>
'text','nullable' => True),
'link_name' => array('type' =>
'text','nullable' => True),
! 'version' => array('type' =>
'varchar','precision' => '30','nullable' => False,'default' => '0.0.0.0')
),
'pk' => array('file_id'),
***************
*** 339,352 ****
'phpgw_history_log' => array(
'fd' => array(
! 'history_id' => array('type' => 'auto',
'precision' => 4, 'nullable' => False),
! 'history_record_id' => array('type' => 'int',
'precision' => 4, 'nullable' => False),
! 'history_appname' => array('type' =>
'varchar', 'precision' => 64, 'nullable' => False),
! 'history_owner' => array('type' => 'int',
'precision' => 4, 'nullable' => False),
! 'history_status' => array('type' => 'char',
'precision' => 2, 'nullable' => False),
! 'history_new_value' => array('type' => 'text',
'nullable' => False),
! 'history_timestamp' => array('type' =>
'timestamp', 'nullable' => False, 'default' => 'current_timestamp'),
! 'history_old_value' => array('type' => 'text',
'nullable' => False)
),
'pk' => array('history_id'),
'fk' => array(),
'ix' => array(),
--- 338,364 ----
'phpgw_history_log' => array(
'fd' => array(
! 'history_id' => array('type' =>
'auto','precision' => '4','nullable' => False),
! 'history_record_id' => array('type' =>
'int','precision' => '4','nullable' => False),
! 'history_appname' => array('type' =>
'varchar','precision' => '64','nullable' => False),
! 'history_owner' => array('type' =>
'int','precision' => '4','nullable' => False),
! 'history_status' => array('type' =>
'char','precision' => '2','nullable' => False),
! 'history_new_value' => array('type' =>
'text','nullable' => False),
! 'history_timestamp' => array('type' =>
'timestamp','nullable' => False,'default' => 'current_timestamp'),
! 'history_old_value' => array('type' =>
'text','nullable' => False)
),
'pk' => array('history_id'),
+ 'fk' => array(),
+ 'ix' => array(),
+ 'uc' => array()
+ ),
+ 'phpgw_async' => array(
+ 'fd' => array(
+ 'id' => array('type' => 'varchar','precision'
=> '255','nullable' => False),
+ 'next' => array('type' => 'int','precision' =>
'4','nullable' => False),
+ 'times' => array('type' =>
'varchar','precision' => '255','nullable' => False),
+ 'method' => array('type' =>
'varchar','precision' => '80','nullable' => False),
+ 'data' => array('type' => 'text','nullable' =>
False)
+ ),
+ 'pk' => array('id'),
'fk' => array(),
'ix' => array(),
Index: tables_update.inc.php
===================================================================
RCS file: /cvsroot/phpgroupware/phpgwapi/setup/tables_update.inc.php,v
retrieving revision 1.53.2.9.2.4
retrieving revision 1.53.2.9.2.5
diff -C2 -r1.53.2.9.2.4 -r1.53.2.9.2.5
*** tables_update.inc.php 18 Apr 2003 17:58:10 -0000 1.53.2.9.2.4
--- tables_update.inc.php 27 Apr 2003 23:17:28 -0000 1.53.2.9.2.5
***************
*** 543,546 ****
return $GLOBALS['setup_info']['phpgwapi']['currentver'];
}
!
?>
--- 543,581 ----
return $GLOBALS['setup_info']['phpgwapi']['currentver'];
}
!
! $test[] = '0.9.14.501';
! function phpgwapi_upgrade0_9_14_501()
! {
! $GLOBALS['phpgw_setup']->oProc->CreateTable('phpgw_async',array(
! 'fd' => array(
! 'id' => array('type' => 'varchar','precision'
=> '255','nullable' => False),
! 'next' => array('type' => 'int','precision' =>
'4','nullable' => False),
! 'times' => array('type' =>
'varchar','precision' => '255','nullable' => False),
! 'method' => array('type' =>
'varchar','precision' => '80','nullable' => False),
! 'data' => array('type' => 'text','nullable' =>
False)
! ),
! 'pk' => array('id'),
! 'fk' => array(),
! 'ix' => array(),
! 'uc' => array()
! ));
!
!
$GLOBALS['phpgw_setup']->oProc->DropColumn('phpgw_applications',array(
! 'fd' => array(
! 'app_id' => array('type' => 'auto','precision'
=> '4','nullable' => False),
! 'app_name' => array('type' =>
'varchar','precision' => '25','nullable' => False),
! 'app_enabled' => array('type' =>
'int','precision' => '4'),
! 'app_order' => array('type' =>
'int','precision' => '4'),
! 'app_tables' => array('type' => 'text'),
! 'app_version' => array('type' =>
'varchar','precision' => '20','nullable' => False,'default' => '0.0')
! ),
! 'pk' => array('app_id'),
! 'fk' => array(),
! 'ix' => array(),
! 'uc' => array('app_name')
! ),'app_title');
!
! $GLOBALS['setup_info']['phpgwapi']['currentver'] = '0.9.14.502';
! return $GLOBALS['setup_info']['phpgwapi']['currentver'];
! }
?>
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Phpgroupware-cvs] CVS: phpgwapi/setup setup.inc.php,1.37.2.6.2.2,1.37.2.6.2.3 tables_current.inc.php,1.32.2.6.2.1,1.32.2.6.2.2 tables_update.inc.php,1.53.2.9.2.4,1.53.2.9.2.5,
Ralf Becker <address@hidden> <=
- Prev by Date:
[Phpgroupware-cvs] CVS: admin/inc class.boaccounts.inc.php,1.31,1.32 class.soaccounts.inc.php,1.8,1.9 class.uiaccounts.inc.php,1.36,1.37 class.uicategories.inc.php,1.33,1.34
- Next by Date:
[Phpgroupware-cvs] CVS: phpgwapi/setup setup.inc.php,1.53,1.54 tables_current.inc.php,1.42,1.43 tables_update.inc.php,1.67,1.68
- Previous by thread:
[Phpgroupware-cvs] CVS: admin/inc class.boaccounts.inc.php,1.31,1.32 class.soaccounts.inc.php,1.8,1.9 class.uiaccounts.inc.php,1.36,1.37 class.uicategories.inc.php,1.33,1.34
- Next by thread:
[Phpgroupware-cvs] CVS: phpgwapi/setup setup.inc.php,1.53,1.54 tables_current.inc.php,1.42,1.43 tables_update.inc.php,1.67,1.68
- Index(es):