<?PHP
// $Id: att_fields.php,v 1.5 2002/03/13 10:14:24 mdruilhe Exp $
// description for the "{site}_attachments" table 

$admin_table = 1;	// it is an admin table => don't add forum specific fields nor user fields

$bn_var = array (
	"att_id",		// attachment id (auto-incremented field) 
	"note_id",		// id (cle) of associated note
	"unixdate",		// timestamp
	"bn_name",		// forum table 
	"rank",			// display order - RFU ??
	"att_name",		// file name
	"att_type",		// mime-type
	"att_size",		// file size (in bytes)
	"att_path",		// pathname - RFU ??
	"inline",		// display inline or as attachment (1 = Y, 0 = No)
	"hidden",		// Hidden => not to be displayed - RFU
	"state"			// state of attachement (1: active, 0, inactive, P: pending, D: Deleted)

);

$bn_var_size["att_id"]="AUTO";
$bn_var_size["note_id"]="INT";
$bn_var_size["unixdate"]="INT";
$bn_var_size["bn_name"]="64";
$bn_var_size["rank"]="INT";
$bn_var_size["att_name"]="255";
$bn_var_size["att_type"]="64";
$bn_var_size["att_size"]="INT";
$bn_var_size["att_path"]="255";
$bn_var_size["inline"]="1";
$bn_var_size["hidden"]="1";
$bn_var_size["state"]="1";
?>