You are here

function commerce_gc_update_7001 in Commerce GC 7

Change "completed" status to "complete".

File

./commerce_gc.install, line 146
Installs Giftcard transaction table and default fields.

Code

function commerce_gc_update_7001() {

  // Change "completed" status to complete.
  db_update('commerce_gc_transaction')
    ->condition('status', 'completed')
    ->fields(array(
    'status' => 'complete',
  ))
    ->execute();
}