function party_hat_field_schema in Party 8.2
Same name and namespace in other branches
- 7 modules/party_hat/party_hat.install \party_hat_field_schema()
Implements hook_field_schema()
File
- modules/
party_hat/ party_hat.install, line 93 - Contains install hooks for the party hat module..
Code
function party_hat_field_schema() {
$columns = array(
'hat_name' => array(
'description' => 'The machine readable name of the hat',
'type' => 'varchar',
'length' => '255',
'not null' => TRUE,
'default' => '',
),
);
$indexes = array();
return array(
'columns' => $columns,
'indexes' => $indexes,
);
}