function getlocations_fields_update_7101 in Get Locations 7
Add data field.
File
- modules/
getlocations_fields/ getlocations_fields.install, line 249 - getlocations_fields.install @author Bob Hutchinson http://drupal.org/user/52366 @copyright GNU GPL
Code
function getlocations_fields_update_7101() {
if ($result = db_field_exists('getlocations_fields', 'data')) {
return;
}
$spec = array(
'description' => 'Data.',
'type' => 'text',
'size' => 'medium',
'not null' => TRUE,
'initial' => '',
);
db_add_field('getlocations_fields', 'data', $spec);
}