[Mapbender-dev] primary key for mb_user_name?

Astrid Emde astrid.emde at ccgis.de
Fri Aug 4 06:41:12 EDT 2006


Christoph Baudson schrieb:
> Astrid,
> 
>> Only for the login, we ask for the mb_user_name. After we checked the 
>> authentication we go on with the mb_user_id.
> 
> Although the registration procedure checks, if this username is taken, 
> it might occur that a database entry comes from another source but the 
> registration form on the web, f.e. a command line entry or a different 
> module (someone adds his own registration module for instance).
> 
> Because the user name needs to be unique, it should be reflected in the 
> database too, so adding a UNIQUE constraint should suffice.

Hi christoph,

now I unterstand your point and agree to the primary key on the column 
mb_user_name.

Astrid




More information about the Mapbender_dev mailing list