From e09b8e058ea439f4d6240ca6382dedc4d5866499 Mon Sep 17 00:00:00 2001 From: "Paul W. Frields" Date: Sat, 10 Jul 2010 16:45:09 -0400 Subject: Make this more readable and add keys --- authfas.install | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) (limited to 'authfas.install') 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() { -- cgit