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
|
<?php
function authfas_schema() {
$schema['authfas_ridmap'] = array(
'description' => "A map of rid's to FAS group names.",
'fields' => array(
'rid' => array(
'description' => 'Identifier for a role.',
'type' => 'int',
'unsigned' => TRUE,
'not null' => TRUE,
),
'fasgroup' => array(
'description' => 'The name of a FAS group.',
'type' => 'varchar',
'length' => 255,
'not null' => TRUE,
'default' => '',
),
),
'unique keys' => array('rid_fasgroup' => array('rid', 'fasgroup')),
'primary key' => array('rid'),
);
return $schema;
}
function authfas_install() {
drupal_install_schema('authfas');
}
function authfas_uninstall() {
drupal_uninstall_schema('authfas');
}
// Local variables:
// mode:php
// tab-width:2
// indent-tabs-mode:nil
// End:
|