Update createDatabase.sql

Fix unique key to big
This commit is contained in:
Raspbian France 2018-02-27 17:20:05 +01:00 committed by GitHub
parent afc610e4e5
commit c685f68836
1 changed files with 1 additions and 1 deletions

View File

@ -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,