diff options
-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() { |