summaryrefslogtreecommitdiffstats
path: root/authfas.install
diff options
context:
space:
mode:
authorPaul W. Frields <stickster@gmail.com>2010-07-10 16:45:09 -0400
committerPaul W. Frields <stickster@gmail.com>2010-07-10 16:45:09 -0400
commite09b8e058ea439f4d6240ca6382dedc4d5866499 (patch)
treeedd7062a22c0b74364afd726ec3c9dd22f08177a /authfas.install
parente8e8e6eda806f81b9fb21f7eadad0e82cbeebe31 (diff)
downloaddrupal-authfas-6x-e09b8e058ea439f4d6240ca6382dedc4d5866499.zip
drupal-authfas-6x-e09b8e058ea439f4d6240ca6382dedc4d5866499.tar.gz
drupal-authfas-6x-e09b8e058ea439f4d6240ca6382dedc4d5866499.tar.xz
Make this more readable and add keys
Diffstat (limited to 'authfas.install')
-rw-r--r--authfas.install10
1 files changed, 8 insertions, 2 deletions
diff --git a/authfas.install b/authfas.install
index b07297f..77b12e3 100644
--- a/authfas.install
+++ b/authfas.install
@@ -7,13 +7,19 @@ function authfas_schema() {
'description' => 'Identifier for a role.',
'type' => 'int',
'unsigned' => TRUE,
- 'not null' => TRUE,),
+ 'not null' => TRUE,
+ ),
'fasgroup' => array(
'description' => 'The name of a FAS group.',
'type' => 'varchar',
'length' => 255,
'not null' => TRUE,
- 'default' => '')));
+ 'default' => '',
+ ),
+ ),
+ 'unique keys' => array('rid_fasgroup' => array('rid', 'fasgroup')),
+ 'primary key' => array('rid'),
+ );
}
function authfas_install() {