Skip to content

Commit

Permalink
Change email index to unique in sample db
Browse files Browse the repository at this point in the history
  • Loading branch information
carlbennett committed Aug 23, 2019
1 parent 07b8916 commit 01e03f8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion etc/database.sample.sql
Original file line number Diff line number Diff line change
Expand Up @@ -712,7 +712,7 @@ CREATE TABLE `users` (
`timezone` varchar(191) COLLATE utf8_unicode_ci DEFAULT NULL,
PRIMARY KEY (`id`),
UNIQUE KEY `username` (`username`),
KEY `email` (`email`)
UNIQUE KEY `email` (`email`)
) ENGINE=InnoDB AUTO_INCREMENT=100003 DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci COMMENT='User metadata for the BNETDocs website';
/*!40101 SET character_set_client = @saved_cs_client */;

Expand Down

0 comments on commit 01e03f8

Please sign in to comment.