[ic] [interchange] Allow usernick to be NULL
Josh Lavin
jlavin at endpoint.com
Thu Jan 26 16:20:01 UTC 2017
Quoting Stefan Hornburg (Racke) (racke at linuxia.de):
> On 01/25/2017 11:06 PM, Josh Lavin wrote:
> > commit 997abee40cefd483caaa6805196657874572e5c7
> > Author: Josh Lavin <digory at cpan.org>
> > 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
More information about the interchange-users
mailing list