1 taxonomy.install taxonomy_update_1005()

Drop the old taxonomy vocabulary table for existing Backdrop installations.

Related topics

File

core/modules/taxonomy/taxonomy.install, line 328
Install, update and uninstall functions for the taxonomy module.

Code

function taxonomy_update_1005() {
  if (db_table_exists('taxonomy_vocabulary')) {
    db_drop_table('taxonomy_vocabulary');
  }
}