From accb147b54bc99e5cd20059be5cb333031f15885 Mon Sep 17 00:00:00 2001 From: Marvin Borner Date: Sat, 18 Jul 2020 22:37:00 +0200 Subject: Added user registration Co-authored-by: LarsVomMars --- src/db/tables.sql | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/db/tables.sql') diff --git a/src/db/tables.sql b/src/db/tables.sql index 9883ea1..af9bd05 100644 --- a/src/db/tables.sql +++ b/src/db/tables.sql @@ -3,7 +3,7 @@ DROP TABLE IF EXISTS users; CREATE TABLE IF NOT EXISTS users ( id INT(6) UNSIGNED AUTO_INCREMENT PRIMARY KEY, - email VARCHAR(24) NOT NULL UNIQUE, + email VARCHAR(48) NOT NULL UNIQUE, username VARCHAR(24) NOT NULL UNIQUE, password VARCHAR(64) NOT NULL, verification VARCHAR(64) NOT NULL UNIQUE, -- cgit v1.2.3