You are here

function skinr_update_6002 in Skinr 6.2

Install new skinsets table to allow enabling and disabling of skinsets.

File

./skinr.install, line 250
skinr.install Contains install, update, and uninstall functions for Skinr.

Code

function skinr_update_6002() {
  $ret = array();

  // Install skinr table.
  if (!db_table_exists('skinr_skinsets')) {
    $schema = drupal_get_schema_unprocessed('skinr');
    _drupal_initialize_schema('skinr', $schema);
    db_create_table($ret, 'skinr_skinsets', $schema['skinr_skinsets']);
  }
  return $ret;
}