function feeds_atom_schema in Feeds Atom 7
Same name and namespace in other branches
- 6 feeds_atom.install \feeds_atom_schema()
Implements hook_schema().
File
- ./
feeds_atom.install, line 19 - Install and uninstall schema and functions for the feeds_atom module.
Code
function feeds_atom_schema() {
$schema['feeds_atom_file_import'] = array(
'fields' => array(
'fid' => array(
'description' => 'The file id that we have imported.',
'type' => 'int',
'not null' => TRUE,
),
'sha1' => array(
'description' => 'sha1 hash of this file.',
'type' => 'varchar',
'length' => '40',
'not null' => TRUE,
),
),
'primary key' => array(
'fid',
),
);
return $schema;
}