function mailchimp_schema in Mailchimp 6.2
Same name and namespace in other branches
- 7.5 mailchimp.install \mailchimp_schema()
- 7 mailchimp.install \mailchimp_schema()
- 7.2 mailchimp.install \mailchimp_schema()
- 7.3 mailchimp.install \mailchimp_schema()
- 7.4 mailchimp.install \mailchimp_schema()
Implementation of hook_schema().
File
- ./
mailchimp.install, line 6
Code
function mailchimp_schema() {
// A table of uids
// @todo If we decide to also do deletes in cron then we can add mail here?
$schema['mailchimp_user'] = array(
'fields' => array(
'uid' => array(
'type' => 'int',
'not null' => TRUE,
'default' => 0,
),
'status' => array(
'type' => 'varchar',
'length' => 15,
),
),
'primary key' => array(
'uid',
),
);
return $schema;
}