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 6255220f5d
commit e585647583
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

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,