From c685f688362960c03ac7cd1b5d8b5b84a7f91942 Mon Sep 17 00:00:00 2001 From: Raspbian France Date: Tue, 27 Feb 2018 17:20:05 +0100 Subject: [PATCH] Update createDatabase.sql Fix unique key to big --- createDatabase.sql | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/createDatabase.sql b/createDatabase.sql index 798fcac9..09470b17 100755 --- a/createDatabase.sql +++ b/createDatabase.sql @@ -123,7 +123,7 @@ CREATE TABLE IF NOT EXISTS events CREATE TABLE IF NOT EXISTS users ( id INT NOT NULL AUTO_INCREMENT, - email VARCHAR(255) NOT NULL, + email VARCHAR(191) NOT NULL, password VARCHAR(255) NOT NULL, admin BOOLEAN NOT NULL DEFAULT FALSE, transfer BOOLEAN NOT NULL DEFAULT FALSE,