function ad_html_schema in Advertisement 6.3
Same name and namespace in other branches
- 6 html/ad_html.install \ad_html_schema()
- 6.2 html/ad_html.install \ad_html_schema()
- 7 html/ad_html.install \ad_html_schema()
Implementation of hook_schema().
File
- html/
ad_html.install, line 14 - Ad_html module database schema.
Code
function ad_html_schema() {
$schema['ad_html'] = array(
'description' => 'The ad_html table stores HTML code of html ads.',
'fields' => array(
'aid' => array(
'type' => 'int',
'unsigned' => TRUE,
'not null' => TRUE,
'default' => 0,
),
'html' => array(
'type' => 'text',
'not null' => FALSE,
),
),
'primary key' => array(
'aid',
),
);
return $schema;
}