Allow multiple empty usernames in the db

This commit is contained in:
Johannes Zellner
2016-04-05 10:54:09 +02:00
parent bb25279878
commit 544c1474d1
4 changed files with 81 additions and 31 deletions

View File

@@ -11,7 +11,7 @@
CREATE TABLE IF NOT EXISTS users(
id VARCHAR(128) NOT NULL UNIQUE,
username VARCHAR(254) NOT NULL UNIQUE,
username VARCHAR(254) UNIQUE,
email VARCHAR(254) NOT NULL UNIQUE,
password VARCHAR(1024) NOT NULL,
salt VARCHAR(512) NOT NULL,