diff options
author | Marvin Borner | 2020-07-18 22:37:00 +0200 |
---|---|---|
committer | Marvin Borner | 2020-07-18 22:38:45 +0200 |
commit | accb147b54bc99e5cd20059be5cb333031f15885 (patch) | |
tree | 8523ad288cb4fbf84acd6a646bd7c04957298bf4 /src/db/tables.sql | |
parent | d3c4b447c3d882a77282e32d9e12d7c3d4f034a2 (diff) |
Added user registration
Co-authored-by: LarsVomMars <lars@kroenner.eu>
Diffstat (limited to 'src/db/tables.sql')
-rw-r--r-- | src/db/tables.sql | 2 |
1 files changed, 1 insertions, 1 deletions
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, |