[Serusers] avpops & usr_preferences -- multiple username/domain/attr sets

sip sip at arcdiv.com
Fri Aug 25 03:45:43 CEST 2006


I changed the definition of the usr_preferences table. It seemed rather daft
to have all three as primary keys, and it was getting in the way of a lot of
things I was doing. 

It didn't break anything. 

N.


On Thu, 24 Aug 2006 16:34:50 -0700, O'Shaughnessy Evans wrote
> Hello.  I'm trying to implement serial forking with the avpops 
> module, but I've run into a small stumbling point.  If I want to 
> store more than 1 forwarding contact in the usr_preferences table, I 
> can't because the table as originally defined from the ser codebase 
> sets up (username, domain, attribute) as a primary key.  To get 
> around this, is it normal to use a different table that doesn't 
> require that tuple to be unique, or is it recommended to change the 
> definition of the usr_preferences table?  In that case, what should 
> the unique key be, if any?
> 
> Thanks.
> 
> -- 
> = o'shaughnessy_evans -=- sys_admin @ 
> (aloha|ilhawaii|myworld|turquoise).net =                         
>  Pacific LightNet, Inc. _______________________________________________
> Serusers mailing list
> Serusers at lists.iptel.org
> http://lists.iptel.org/mailman/listinfo/serusers




More information about the sr-users mailing list