diff options
author | Paul W. Frields <stickster@gmail.com> | 2010-07-10 16:45:09 -0400 |
---|---|---|
committer | Paul W. Frields <stickster@gmail.com> | 2010-07-10 16:45:09 -0400 |
commit | e09b8e058ea439f4d6240ca6382dedc4d5866499 (patch) | |
tree | edd7062a22c0b74364afd726ec3c9dd22f08177a | |
parent | e8e8e6eda806f81b9fb21f7eadad0e82cbeebe31 (diff) | |
download | drupal-authfas-6x-e09b8e058ea439f4d6240ca6382dedc4d5866499.tar.gz drupal-authfas-6x-e09b8e058ea439f4d6240ca6382dedc4d5866499.tar.xz drupal-authfas-6x-e09b8e058ea439f4d6240ca6382dedc4d5866499.zip |
Make this more readable and add keys
-rw-r--r-- | authfas.install | 10 |
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() { |