Skip to content

Commit 01e03f8

Browse files
committed
Change email index to unique in sample db
1 parent 07b8916 commit 01e03f8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

etc/database.sample.sql

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -712,7 +712,7 @@ CREATE TABLE `users` (
712712
`timezone` varchar(191) COLLATE utf8_unicode_ci DEFAULT NULL,
713713
PRIMARY KEY (`id`),
714714
UNIQUE KEY `username` (`username`),
715-
KEY `email` (`email`)
715+
UNIQUE KEY `email` (`email`)
716716
) ENGINE=InnoDB AUTO_INCREMENT=100003 DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci COMMENT='User metadata for the BNETDocs website';
717717
/*!40101 SET character_set_client = @saved_cs_client */;
718718

0 commit comments

Comments
 (0)