summaryrefslogtreecommitdiffstats
path: root/authfas.install
diff options
context:
space:
mode:
Diffstat (limited to 'authfas.install')
-rw-r--r--authfas.install25
1 files changed, 25 insertions, 0 deletions
diff --git a/authfas.install b/authfas.install
new file mode 100644
index 0000000..b07297f
--- /dev/null
+++ b/authfas.install
@@ -0,0 +1,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');
+}