You are here

function commerce_cardonfile_update_7103 in Commerce Card on File 7.2

Change the card on file table name.

File

./commerce_cardonfile.install, line 205
Installs the tables required by Commerce Card on File.

Code

function commerce_cardonfile_update_7103(&$sandbox) {
  if (db_table_exists('commerce_card_data')) {
    db_rename_table('commerce_card_data', 'commerce_cardonfile');
  }
  return t('Card data table has been updated.');
}