-
Notifications
You must be signed in to change notification settings - Fork 0
/
dash.install
87 lines (81 loc) · 1.66 KB
/
dash.install
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
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
<?php
/**
* @file
* Install, update, and uninstall functions for the pingdom_api module.
*/
/**
* Implements hook_uninstall().
*/
function dash_uninstall() {
// variable_del('pingdom_api_check_list');
// variable_del('pingdom_api_username');
// variable_del('pingdom_api_pass');
// variable_del('pingdom_api_appkey');
}
/**
* @file
* Schema definitions.
*/
/**
* Implements hook_schema().
*
* dash_agent:
* array (size=6)
*/
/*
function dash_schema() {
$schema['agent'] = array(
'description' => 'Base table for an agent',
'fields' => array(
'nid' => array(
'description' => 'Primary identifier',
'type' => 'serial',
'unsigned' => TRUE,
'not null' => TRUE,
),
'agent_id' => array(
'description' => 'Agent ID (id_agente).',
'type' => 'int',
'unsigned' => TRUE,
'not null' => FALSE,
),
'title' => array(
'description' => 'The title of this agent (nombre).',
'type' => 'varchar',
'length' => 255,
'not null' => TRUE,
'default' => '',
),
'uri'=> array(
'description' => 'The URI of this agent (direccion).',
'type' => 'varchar',
'length' => 255,
'not null' => TRUE,
'default' => '',
),
'description'=> array(
'description' => 'The notes or description of this agent (comentarios).',
'type' => 'varchar',
'length' => 255,
'not null' => TRUE,
'default' => '',
),
'type'=> array(
'description' => 'The type of resource this agent represents (name).',
'type' => 'varchar',
'length' => 255,
'not null' => TRUE,
'default' => '',
),
'url_address'=> array(
'description' => 'The url of this agent (url_address).',
'type' => 'varchar',
'length' => 255,
'not null' => TRUE,
'default' => '',
),
),
);
return $schema;
}
*/