| 1 |
<?php |
<?php |
| 2 |
// $Id: docapi.install,v 1.2.2.3 2008/07/09 12:04:47 bradfordcp Exp $ |
// $Id: docapi.install,v 1.2.2.4 2008/07/10 03:10:48 bradfordcp Exp $ |
| 3 |
|
|
| 4 |
/** |
/** |
| 5 |
* @file |
* @file |
| 21 |
'unsigned' => true, |
'unsigned' => true, |
| 22 |
'not null' => true, |
'not null' => true, |
| 23 |
), |
), |
| 24 |
'plugin_id' => array( |
'fid' => array( |
| 25 |
'description' => t('The identifier to link this particular item to a plugin.'), |
'description' => t('The id of the file from the files table'), |
|
'type' => 'int', |
|
|
'unsigned' => true, |
|
|
'not null' => true, |
|
|
), |
|
|
'uid' => array( |
|
|
'description' => t('The uid of the user who uploaded the file.'), |
|
| 26 |
'type' => 'int', |
'type' => 'int', |
| 27 |
'unsigned' => true, |
'unsigned' => true, |
| 28 |
'not null' => true, |
'not null' => true, |
| 29 |
), |
), |
| 30 |
'filemime' => array( |
'plugin_id' => array( |
| 31 |
'description' => t('The mimetype of the file.'), |
'description' => t('The identifier to link this particular item to a plugin.'), |
|
'type' => 'varchar', |
|
|
'length' => '255', |
|
|
'default' => 'text/plain', |
|
|
'not null' => true, |
|
|
), |
|
|
'filename' => array( |
|
|
'description' => t('The filename of the file.'), |
|
|
'type' => 'varchar', |
|
|
'length' => '255', |
|
|
'default' => t(''), |
|
|
'not null' => true, |
|
|
), |
|
|
'filepath' => array( |
|
|
'description' => t('The path to the file on the server relative to the site root.'), |
|
|
'type' => 'varchar', |
|
|
'length' => '255', |
|
|
'not null' => true, |
|
|
), |
|
|
'filesize' => array( |
|
|
'description' => t('The size of the file in bytes'), |
|
| 32 |
'type' => 'int', |
'type' => 'int', |
| 33 |
'unsigned' => true, |
'unsigned' => true, |
| 34 |
'not null' => true, |
'not null' => true, |
| 35 |
), |
), |
|
'created' => array( |
|
|
'description' => t('When the record was added to the database'), |
|
|
'type' => 'datetime', |
|
|
'not null' => true, |
|
|
|
|
|
), |
|
|
'changed' => array( |
|
|
'description' => t('The last time a change to the input file has been changed'), |
|
|
'type' => 'datetime', |
|
|
'not null' => true, |
|
|
), |
|
| 36 |
), |
), |
| 37 |
'indexes' => array( |
'indexes' => array( |
| 38 |
), |
), |