You are here

function sarnia_install in Sarnia 7

File

./sarnia.install, line 106

Code

function sarnia_install() {
  $query = db_insert('sarnia_solr_service_schema')
    ->fields(array(
    'search_api_server',
    'behavior',
    'match_type',
    'match_value',
    'effect',
    'replacement',
  ));
  foreach (sarnia_solr_service_schema_defaults() as $values) {
    $query
      ->values($values);
  }
  $query
    ->execute();
}