You are here

function cer_update_7001 in Corresponding Entity References 7.3

Same name and namespace in other branches
  1. 7 cer.install \cer_update_7001()
  2. 7.2 cer.install \cer_update_7001()

Rename table to shorten module name.

File

./cer.install, line 392
Install file providing corresponding entity reference schema.

Code

function cer_update_7001() {
  if (db_table_exists('corresponding_entity_references')) {
    db_rename_table('corresponding_entity_references', 'cer');
  }
}