function tripal_feature_update_7203
2.x tripal_feature.install | tripal_feature_update_7203() |
Removes the unique constraint on the tripal_gffcds_temp table.
File
- tripal_feature/
tripal_feature.install, line 505 - Installation of the feature module
Code
function tripal_feature_update_7203() {
// 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_gffcds_temp_table(FALSE);
}
catch (\PDOException $e) {
$error = $e->getMessage();
throw new DrupalUpdateException('Failed to complete update' . $error);
}
}