You are here

function getlocations_fields_update_7100 in Get Locations 7

Add marker field.

File

modules/getlocations_fields/getlocations_fields.install, line 232
getlocations_fields.install @author Bob Hutchinson http://drupal.org/user/52366 @copyright GNU GPL

Code

function getlocations_fields_update_7100() {
  if ($result = db_field_exists('getlocations_fields', 'marker')) {
    return;
  }
  $spec = array(
    'description' => 'Marker.',
    'type' => 'varchar',
    'length' => 255,
    'default' => '',
    'not null' => TRUE,
  );
  db_add_field('getlocations_fields', 'marker', $spec);
}