function tripal_stock_update_7201

2.x tripal_stock.install tripal_stock_update_7201()

Add materialized views

File

tripal_stock/tripal_stock.install, line 309
Install the tripal stock module including it's content type

Code

function tripal_stock_update_7201() {
  // Make sure we have the full API loaded this will help during a
  // site upgrade when the tripal_core module is disabled.
  module_load_include('module', 'tripal_core', 'tripal_core');
  tripal_core_import_api();

  // add the materialized view
  tripal_stock_add_organism_count_mview();

}