| 29 |
'not null' => TRUE, |
'not null' => TRUE, |
| 30 |
'default' => 0, |
'default' => 0, |
| 31 |
), |
), |
| 32 |
|
'mac_auth_last' => |
| 33 |
|
array( |
| 34 |
|
'type' => 'int', |
| 35 |
|
'default' => 0, |
| 36 |
|
'description' => t('Auto-MAC Authenticate.'), |
| 37 |
|
), |
| 38 |
), |
), |
| 39 |
'primary key' => array('nid'), |
'primary key' => array('nid'), |
| 40 |
); |
); |
| 53 |
function uc_access_code_product_update_6001() { |
function uc_access_code_product_update_6001() { |
| 54 |
$ret = array(); |
$ret = array(); |
| 55 |
|
|
| 56 |
$new_field = array( |
$new_field = |
| 57 |
'type' => 'int', |
array( |
| 58 |
'default' => 0, |
'type' => 'int', |
| 59 |
'description' => 'Auto-MAC Authenticate.', |
'default' => 0, |
| 60 |
); |
'description' => t('Auto-MAC Authenticate.'), |
| 61 |
|
); |
| 62 |
|
|
| 63 |
db_add_field($ret, 'uc_access_code_products', 'mac_auth_last', $new_field); |
db_add_field($ret, 'uc_access_code_products', 'mac_auth_last', $new_field); |
| 64 |
|
|
| 65 |
return $ret; |
return $ret; |