Remove UNIQUE constraint on nicknames

This commit is contained in:
nemunaire 2015-01-16 22:39:13 +01:00 committed by Nemunaire
parent 7aec6ec98a
commit e5b7702591

View File

@ -133,7 +133,7 @@ CREATE TABLE IF NOT EXISTS `team_members` (
`id_team` int(10) unsigned NOT NULL, `id_team` int(10) unsigned NOT NULL,
`firstname` varchar(32) COLLATE utf8_unicode_ci NOT NULL, `firstname` varchar(32) COLLATE utf8_unicode_ci NOT NULL,
`lastname` varchar(32) COLLATE utf8_unicode_ci NOT NULL, `lastname` varchar(32) COLLATE utf8_unicode_ci NOT NULL,
`nickname` varchar(32) COLLATE utf8_unicode_ci NOT NULL UNIQUE DEFAULT "", `nickname` varchar(32) COLLATE utf8_unicode_ci NOT NULL DEFAULT "",
`company` varchar(32) COLLATE utf8_unicode_ci NOT NULL DEFAULT "", `company` varchar(32) COLLATE utf8_unicode_ci NOT NULL DEFAULT "",
PRIMARY KEY (`id`), PRIMARY KEY (`id`),
UNIQUE (firstname, lastname) UNIQUE (firstname, lastname)