Re: [interchange] Allow usernick to be NULL

Josh Lavin <[email protected]>
Newsgroups gmane.comp.web.interchange.users
Message-ID <[email protected]>
Quoting Stefan Hornburg (Racke) ([email protected]):
> On 01/25/2017 11:06 PM, Josh Lavin wrote:
> > commit 997abee40cefd483caaa6805196657874572e5c7
> > Author: Josh Lavin <[email protected]>
> > Date:   Wed Jan 25 14:04:53 2017 -0800
> > 
> >     Allow usernick to be NULL
> >     
> >     - will resolve issues with customer create from IC Admin
> >     - however, usernick will then be NULL
> >     - consider adding a usernick field to the customer creation form, or
> >       else use of UserDB fallback_login
> > 
> 
> Hello Josh,
> 
> wouldn't it better to use a default value of '' instead of allowing NULL?

No, because the field has a UNIQUE constraint.

-- 
Josh Lavin
End Point Corporation
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.