View Single Post
  #51  
Old 07-14-2006, 06:54 AM
 
marcgeldon marcgeldon is offline
 

Advanced Member
  
Join Date: Feb 2005
Posts: 65
 

Default

Wouldn't it be better to update the database with a unique index on e-mail and usertype?

I mean something like
Code:
ALTER TABLE xcart_customers ADD UNIQUE (usertype, email);

So it would be possible to have a provider, admin and customer account (for testing) on the same e-mail address.

What do you think?

Hope to hear from you soon.


Best wishes,

Marc
__________________
Marc Geldon (PRO IT SYSTEMS)
http://www.proitsystems.de

X-Cart PRO 4.1.3
Reply With Quote