function oa_events_schema in Open Atrium Events 7.2
Implements hook_schema().
File
- ./
oa_events.install, line 32 - oa_events.install
Code
function oa_events_schema() {
$schema = array();
$schema['oa_events_notifications_log'] = array(
'description' => 'The database table for OA Notifications',
'fields' => array(
'entity_id' => array(
'type' => 'int',
'not null' => TRUE,
),
'entity_type' => array(
'type' => 'varchar',
'length' => '128',
'not null' => TRUE,
'default' => '',
),
'timestamp' => array(
'type' => 'int',
'not null' => TRUE,
),
),
'indexes' => array(
'timestamp' => array(
'timestamp',
),
),
);
return $schema;
}