/[drupal]/contributions/modules/uc_turkish_banks/uc_turkish_banks.install
ViewVC logotype

Diff of /contributions/modules/uc_turkish_banks/uc_turkish_banks.install

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

revision 1.2, Sun Jun 22 15:14:19 2008 UTC revision 1.3, Sun Jun 22 18:46:51 2008 UTC
# Line 1  Line 1 
1  <?php  <?php
2  // $Id$  // $Id: uc_turkish_banks.install,v 1.2 2008/06/22 15:14:19 bakyildiz Exp $
3    
4  /**  /**
5   * Implementation of hook_install().   * Implementation of hook_install().
# Line 22  function uc_turkish_banks_install() { Line 22  function uc_turkish_banks_install() {
22          PRIMARY KEY (cid, bankname)          PRIMARY KEY (cid, bankname)
23        ) /*!40100 DEFAULT CHARACTER SET UTF8 */ ");        ) /*!40100 DEFAULT CHARACTER SET UTF8 */ ");
24    
25                          db_query("CREATE TABLE {uc_turkish_banks_orders} (        db_query("CREATE TABLE {uc_turkish_banks_orders} (
26          cuid int(11) NOT NULL auto_increment,          cuid int(11) NOT NULL auto_increment,
27          cid int(11) NOT NULL,          cid int(11) NOT NULL,
28          oid int(11) NOT NULL default '0',          oid int(11) NOT NULL default '0',
# Line 35  function uc_turkish_banks_install() { Line 35  function uc_turkish_banks_install() {
35          instalment_ratio decimal(4,2) NOT NULL,          instalment_ratio decimal(4,2) NOT NULL,
36          valid_until INTEGER NOT NULL          valid_until INTEGER NOT NULL
37        ) /*!40100 DEFAULT CHARACTER SET UTF8 */ ");        ) /*!40100 DEFAULT CHARACTER SET UTF8 */ ");
38              break;        break;
39          }    }
40  }  }
41    
42  /**  /**

Legend:
Removed from v.1.2  
changed lines
  Added in v.1.3

  ViewVC Help
Powered by ViewVC 1.1.2