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

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

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

revision 1.1, Wed Jun 11 12:50:11 2008 UTC revision 1.1.4.1, Mon Sep 1 08:50:21 2008 UTC
# Line 1  Line 1 
1  <?php  <?php
2  // $Id$  // $Id: stormexpense.install,v 1.1 2008/06/11 12:50:11 robertogerola Exp $
3    
4  /**  /**
5   * @file   * @file
# Line 31  function stormexpense_schema() { Line 31  function stormexpense_schema() {
31        'provider_title'      => array('type' => 'varchar', 'length' => 128),        'provider_title'      => array('type' => 'varchar', 'length' => 128),
32        'expensedate'         => array('type' => 'int'),        'expensedate'         => array('type' => 'int'),
33        'amount'              => array('type' => 'float'),        'amount'              => array('type' => 'float'),
34        'vat'                 => array('type' => 'float'),        'tax'                 => array('type' => 'float'),
35        'total'               => array('type' => 'float'),        'total'               => array('type' => 'float'),
36      ),      ),
37      'primary key' => array('vid', 'nid'),      'primary key' => array('vid', 'nid'),
# Line 39  function stormexpense_schema() { Line 39  function stormexpense_schema() {
39    
40    return $schema;    return $schema;
41  }  }
42    
43    function stormexpense_update_1() {
44      $ret = array();
45      db_change_field($ret, 'stormexpense', 'vat', 'tax', array('type' => 'float'));
46      return $ret;
47    }

Legend:
Removed from v.1.1  
changed lines
  Added in v.1.1.4.1

  ViewVC Help
Powered by ViewVC 1.1.2