diff --git a/sql/userTableSQL b/sql/userTableSQL index 2df4ecc..d232441 100644 --- a/sql/userTableSQL +++ b/sql/userTableSQL @@ -4,4 +4,5 @@ CREATE TABLE `user` ( `email` VARCHAR(100) NOT NULL DEFAULT '0', `password` VARCHAR(100) NOT NULL DEFAULT '0', PRIMARY KEY (`ID`) + UNIQUE INDEX `user` (`user`) )