function commerce_payment_update_7102 in Commerce Core 7
Allow NULL values for revision_id on {commerce_payment_transaction} to avoid locking issues.
File
- modules/
payment/ commerce_payment.install, line 288 - Installation functions for Drupal Commerce Payment.
Code
function commerce_payment_update_7102() {
db_change_field('commerce_payment_transaction', 'revision_id', 'revision_id', array(
'description' => 'The current {commerce_payment_transaction_revision}.revision_id version identifier.',
'type' => 'int',
'unsigned' => TRUE,
'not null' => FALSE,
));
return t('Schema for the commerce_payment_transaction table has been updated.');
}