<?php
  /**************************************************************************\
  * eGroupWare                                                               *
  * http://www.egroupware.org                                                *
  * --------------------------------------------                             *
  *  This program is free software; you can redistribute it and/or modify it *
  *  under the terms of the GNU General Public License as published by the   *
  *  Free Software Foundation; either version 2 of the License, or (at your  *
  *  option) any later version.                                              *
  \**************************************************************************/

  /* $Id: tables_current.inc.php 23423 2007-02-15 09:44:40Z lkneschke $ */

	$phpgw_baseline = array(
		'egw_felamimail_cache' => array(
			'fd' => array(
				'fmail_accountid' => array('type' => 'int','precision' => '4','nullable' => False),
				'fmail_hostname' => array('type' => 'varchar','precision' => '60','nullable' => False),
				'fmail_accountname' => array('type' => 'varchar','precision' => '128','nullable' => False),
				'fmail_foldername' => array('type' => 'varchar','precision' => '128','nullable' => False),
				'fmail_uid' => array('type' => 'int','precision' => '4','nullable' => False),
				'fmail_subject' => array('type' => 'text'),
				'fmail_striped_subject' => array('type' => 'text'),
				'fmail_sender_name' => array('type' => 'varchar','precision' => '256'),
				'fmail_sender_address' => array('type' => 'varchar','precision' => '256'),
				'fmail_to_name' => array('type' => 'varchar','precision' => '256'),
				'fmail_to_address' => array('type' => 'varchar','precision' => '256'),
				'fmail_date' => array('type' => 'int','precision' => '8'),
				'fmail_size' => array('type' => 'int','precision' => '4'),
				'fmail_attachments' => array('type' => 'varchar','precision' => '120')
			),
			'pk' => array('fmail_accountid','fmail_hostname','fmail_accountname','fmail_foldername','fmail_uid'),
			'fk' => array(),
			'ix' => array(),
			'uc' => array()
		),
		'egw_felamimail_folderstatus' => array(
			'fd' => array(
				'fmail_accountid' => array('type' => 'int','precision' => '4','nullable' => False),
				'fmail_hostname' => array('type' => 'varchar','precision' => '60','nullable' => False),
				'fmail_accountname' => array('type' => 'varchar','precision' => '128','nullable' => False),
				'fmail_foldername' => array('type' => 'varchar','precision' => '128','nullable' => False),
				'fmail_messages' => array('type' => 'int','precision' => '4'),
				'fmail_recent' => array('type' => 'int','precision' => '4'),
				'fmail_unseen' => array('type' => 'int','precision' => '4'),
				'fmail_uidnext' => array('type' => 'int','precision' => '4'),
				'fmail_uidvalidity' => array('type' => 'int','precision' => '4')
			),
			'pk' => array('fmail_accountid','fmail_hostname','fmail_accountname','fmail_foldername'),
			'fk' => array(),
			'ix' => array(),
			'uc' => array()
		),
		'egw_felamimail_displayfilter' => array(
			'fd' => array(
				'fmail_filter_accountid' => array('type' => 'int','precision' => '4','nullable' => False),
				'fmail_filter_data' => array('type' => 'text')
			),
			'pk' => array('fmail_filter_accountid'),
			'fk' => array(),
			'ix' => array(),
			'uc' => array()
		),
		'egw_felamimail_accounts' => array(
			'fd' => array(
				'fm_owner' => array('type' => 'int','precision' => '4','nullable' => False),
				'fm_id' => array('type' => 'auto'),
				'fm_realname' => array('type' => 'varchar','precision' => '128'),
				'fm_organization' => array('type' => 'varchar','precision' => '128'),
				'fm_emailaddress' => array('type' => 'varchar','precision' => '128','nullable' => False),
				'fm_ic_hostname' => array('type' => 'varchar','precision' => '128','nullable' => False),
				'fm_ic_port' => array('type' => 'int','precision' => '4','nullable' => False),
				'fm_ic_username' => array('type' => 'varchar','precision' => '128','nullable' => False),
				'fm_ic_password' => array('type' => 'varchar','precision' => '128'),
				'fm_ic_encryption' => array('type' => 'int','precision' => '4','nullable' => False),
				'fm_og_hostname' => array('type' => 'varchar','precision' => '128','nullable' => False),
				'fm_og_port' => array('type' => 'int','precision' => '4','nullable' => False),
				'fm_og_smtpauth' => array('type' => 'bool','nullable' => False),
				'fm_og_username' => array('type' => 'varchar','precision' => '128'),
				'fm_og_password' => array('type' => 'varchar','precision' => '128'),
				'fm_active' => array('type' => 'bool','nullable' => False),
				'fm_ic_validatecertificate' => array('type' => 'bool','nullable' => False),
				'fm_ic_enable_sieve' => array('type' => 'bool','precision' => '255'),
				'fm_ic_sieve_server' => array('type' => 'varchar','precision' => '128'),
				'fm_ic_sieve_port' => array('type' => 'int','precision' => '4')
			),
			'pk' => array('fm_id'),
			'fk' => array(),
			'ix' => array('fm_owner'),
			'uc' => array()
		),
		'egw_felamimail_signatures' => array(
			'fd' => array(
				'fm_signatureid' => array('type' => 'auto'),
				'fm_accountid' => array('type' => 'int','precision' => '11'),
				'fm_signature' => array('type' => 'text'),
				'fm_description' => array('type' => 'varchar','precision' => '255'),
				'fm_defaultsignature' => array('type' => 'bool')
			),
			'pk' => array('fm_signatureid'),
			'fk' => array(),
			'ix' => array(),
			'uc' => array(array('fm_signatureid','fm_accountid'))
		)
	);
?>
