You are here

function fieldable_panels_panes_update_7107 in Fieldable Panels Panes (FPP) 7

Add cache table for optional entitycache support.

File

./fieldable_panels_panes.install, line 320
Fieldable Panels Panes install file.

Code

function fieldable_panels_panes_update_7107() {
  if (!db_table_exists('cache_entity_fieldable_panels_pane')) {
    $schema = drupal_get_schema_unprocessed('system', 'cache');
    $schema['description'] = 'Cache table used to store fieldable_panel_pane entity records.';
    db_create_table('cache_entity_fieldable_panels_pane', $schema);
  }
}