mediamosa_job_server_analyse_schema()Implements hook_schema().
sites/all/modules/mediamosa/core/job/server/analyse/mediamosa_job_server_analyse.install.inc, line 51
<?php
function mediamosa_job_server_analyse_schema() {
$a_schema[mediamosa_job_server_analyse_db::TABLE_NAME] = array(
'description' => t('The job server analyse table.'),
'fields' => array(
mediamosa_job_server_analyse_db::ID => array(
'type' => 'int',
'unsigned' => TRUE,
'not null' => TRUE,
'description' => t('The server job ID.'),
),
mediamosa_job_server_analyse_db::ANALYSE_RESULT => array(
'type' => 'text',
'default' => NULL,
'description' => t('The analyse result.'),
),
mediamosa_job_server_analyse_db::CREATED => array(
'type' => 'datetime',
'not null' => TRUE,
'description' => t('The date and time when job analyse was created.'),
),
mediamosa_job_server_analyse_db::CHANGED => array(
'type' => 'datetime',
'default' => NULL,
'description' => t('The date and time when job analyse was changed last.'),
),
),
'primary key' => array(mediamosa_job_server_analyse_db::ID),
'foreign keys' => array(
mediamosa_job_server_analyse_db::ID => array(mediamosa_job_server_db::TABLE_NAME => mediamosa_job_server_db::ID),
),
);
return $a_schema;
}
?>