function tripal_feature_update_7202
2.x tripal_feature.install | tripal_feature_update_7202() |
Adds the temporary tables used for loading GFF files.
File
- tripal_feature/
tripal_feature.install, line 485 - Installation of the feature module
Code
function tripal_feature_update_7202() {
// 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();
try {
tripal_feature_add_tripal_gff_temp_table();
tripal_feature_add_tripal_gffcds_temp_table();
tripal_feature_add_tripal_gffprotein_temp_table();
}
catch (\PDOException $e) {
$error = $e->getMessage();
throw new DrupalUpdateException('Failed to complete update' . $error);
}
}