/[drupal]/contributions/modules/hotspot/uc_access_code_product.install
ViewVC logotype

Diff of /contributions/modules/hotspot/uc_access_code_product.install

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph | View Patch Patch

revision 1.1.2.2, Fri Jul 31 19:34:48 2009 UTC revision 1.1.2.3, Wed Aug 19 17:16:46 2009 UTC
# Line 29  function uc_access_code_product_schema() Line 29  function uc_access_code_product_schema()
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            );            );
# Line 47  function uc_access_code_product_uninstal Line 53  function uc_access_code_product_uninstal
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;

Legend:
Removed from v.1.1.2.2  
changed lines
  Added in v.1.1.2.3

  ViewVC Help
Powered by ViewVC 1.1.2