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

Diff of /contributions/modules/import_manager/import_manager.install

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

revision 1.2, Mon Jun 1 20:45:46 2009 UTC revision 1.3, Thu Aug 6 01:47:57 2009 UTC
# Line 24  function import_manager_schema() { Line 24  function import_manager_schema() {
24        ),        ),
25        'primary key' => array('callback'),        'primary key' => array('callback'),
26      ),      ),
27        'import_manager_log' => array(
28          'fields' => array(
29            'callback' => array(
30              'type' => 'varchar',
31              'length' => 255,
32              'not null' => TRUE,
33            ),
34            'time' => array(
35              'type' => 'int',
36              'not null' => TRUE,
37              'unsigned' => TRUE,
38            ),
39            'duration' => array(
40              'type' => 'int',
41              'not null' => TRUE,
42              'unsigned' => TRUE,
43            ),
44          ),
45          'indexes' => array(
46            'callback_time' => array('callback', 'time'),
47          ),
48        ),
49      );
50    }
51    
52    function import_manager_update_6001() {
53      $table = array(
54        'fields' => array(
55          'callback' => array(
56            'type' => 'varchar',
57            'length' => 255,
58            'not null' => TRUE,
59          ),
60          'time' => array(
61            'type' => 'int',
62            'not null' => TRUE,
63            'unsigned' => TRUE,
64          ),
65          'duration' => array(
66            'type' => 'int',
67            'not null' => TRUE,
68            'unsigned' => TRUE,
69          ),
70        ),
71        'indexes' => array(
72          'callback_time' => array('callback', 'time'),
73        ),
74    );    );
75      $return = array();
76      db_create_table($return, 'import_manager_log', $table);
77      return $return;
78  }  }

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

  ViewVC Help
Powered by ViewVC 1.1.2