/[drupal]/contributions/modules/storm/stormorganization/stormorganization.install
ViewVC logotype

Diff of /contributions/modules/storm/stormorganization/stormorganization.install

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

revision 1.4.4.1, Mon Aug 25 09:04:45 2008 UTC revision 1.4.4.2, Mon Sep 1 08:50:21 2008 UTC
# Line 1  Line 1 
1  <?php  <?php
2  // $Id: stormorganization.install,v 1.4 2008/06/23 16:46:35 robertogerola Exp $  // $Id: stormorganization.install,v 1.4.4.1 2008/08/25 09:04:45 robertogerola Exp $
3    
4  /**  /**
5   * @file   * @file
# Line 26  function stormorganization_schema() { Line 26  function stormorganization_schema() {
26        'city'        => array('type' => 'varchar', 'length' => 100),        'city'        => array('type' => 'varchar', 'length' => 100),
27        'zip'         => array('type' => 'varchar', 'length' => 10),        'zip'         => array('type' => 'varchar', 'length' => 10),
28        'address'     => array('type' => 'varchar', 'length' => 100),        'address'     => array('type' => 'varchar', 'length' => 100),
29        'vatid'       => array('type' => 'varchar', 'length' => 50),        'taxid'       => array('type' => 'varchar', 'length' => 50),
30        'email'       => array('type' => 'varchar', 'length' => 50),        'email'       => array('type' => 'varchar', 'length' => 50),
31        'www'         => array('type' => 'varchar', 'length' => 100),        'www'         => array('type' => 'varchar', 'length' => 100),
32        'phone'       => array('type' => 'varchar', 'length' => 100),        'phone'       => array('type' => 'varchar', 'length' => 100),
# Line 49  function stormorganization_update_1() { Line 49  function stormorganization_update_1() {
49    return $ret;    return $ret;
50  }  }
51    
52    function stormorganization_update_2() {
53      $ret = array();
54      db_change_field($ret, 'stormorganization', 'vatid', 'taxid', array('type' => 'varchar', 'length' => 50));
55      return $ret;
56    }
57    

Legend:
Removed from v.1.4.4.1  
changed lines
  Added in v.1.4.4.2

  ViewVC Help
Powered by ViewVC 1.1.2