summaryrefslogtreecommitdiffstats
path: root/authfas.install
blob: b07297f303efa271d81ea1fce86cef5e13165e32 (plain)
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
<?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' => '')));
}

function authfas_install() {
  drupal_install_schema('authfas');
}

function authfas_uninstall() {
  drupal_uninstall_schema('authfas');
}