You are here

function getlocations_fields_update_7200 in Get Locations 7.2

Add marker field.

File

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

Code

function getlocations_fields_update_7200() {
  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);
}