-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcommerce_socolissimo.install
More file actions
44 lines (39 loc) · 1.02 KB
/
commerce_socolissimo.install
File metadata and controls
44 lines (39 loc) · 1.02 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
<?php
/**
* @file
* module's table schema and installation hooks.
*/
/**
* Implements hook_schema().
*/
function commerce_socolissimo_schema(){
$schema['commerce_socolissimo_line_item_info'] = array(
'description' => 'Stores SoColissmo information associated with a line item.',
'fields' => array(
'id' => array(
'description' => 'The primary identifier for an association.',
'type' => 'serial',
'unsigned' => TRUE,
'not null' => TRUE,
),
'line_item_id' => array(
'description' => 'The primary identifier for a line item.',
'type' => 'int',
'unsigned' => TRUE,
'not null' => TRUE,
'default' => 0,
),
'shipping_info' => array(
'description' => 'The SoColissimo informations.',
'type' => 'blob',
'serialized' => TRUE,
'not null' => TRUE,
),
),
'primary key' => array('id'),
'indexes' => array(
'line_item_id' => array('line_item_id'),
)
);
return $schema;
}