-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathdatapoint_simplepie.vertex.inc
50 lines (50 loc) · 1.5 KB
/
datapoint_simplepie.vertex.inc
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
45
46
47
48
49
50
<?php
function datapoint_simplepie_vertex_schema() {
//GTODO: Some indexes please?
return array(
'description' => t('Feed item information parsed by SimplePie'),
'fields' => array(
'description' => array(
'description' => t('The content of the feed item.'),
'type' => 'text',
'size' => 'medium',
'not null' => FALSE,
'default' => '',
),
'url' => array(
'description' => t('The url for the feed item.'),
'type' => 'varchar',
'length' => 255,
'not null' => TRUE,
'default' => '',
),
'published' => array(
'description' => t('The Unix timestamp for when the item was published.'),
'type' => 'int',
'not null' => FALSE,
'default' => 0,
),
'iterator' => array(
'description' => t('The iterator used.'),
'type' => 'varchar',
'length' => 255,
'not null' => TRUE,
'default' => '',
),
'statevalue' => array(
'description' => t('The value of the state of the iterator returned.'),
'type' => 'varchar',
'length' => 255,
'not null' => TRUE,
'default' => '',
),
'position' => array(
'description' => t('The position of the item'),
'type' => 'varchar',
'length' => 64,
'not null' => FALSE,
'default' => '',
),
),
);
}