aboutsummaryrefslogtreecommitdiff
path: root/dbinit.sql
diff options
context:
space:
mode:
authorarf20 <aruizfernandez05@gmail.com>2024-03-16 02:51:06 +0100
committerarf20 <aruizfernandez05@gmail.com>2024-03-16 02:51:06 +0100
commitda57beb574fb9f756a7de036e8003f75ec47432c (patch)
treeb34bba686432f972816bb649d47431fcd2efa66e /dbinit.sql
parentecdcfff2460db708ae4b471140335ce47aaaf54b (diff)
downloadarfnet2-cstims-da57beb574fb9f756a7de036e8003f75ec47432c.tar.gz
arfnet2-cstims-da57beb574fb9f756a7de036e8003f75ec47432c.zip
Email verification
Diffstat (limited to 'dbinit.sql')
-rw-r--r--dbinit.sql1
1 files changed, 1 insertions, 0 deletions
diff --git a/dbinit.sql b/dbinit.sql
index 95cdf2f..5a989ab 100644
--- a/dbinit.sql
+++ b/dbinit.sql
@@ -6,6 +6,7 @@ CREATE TABLE `arfnet2`.`users` (
`password` VARCHAR(255) NOT NULL ,
`email` VARCHAR(127) NOT NULL ,
`verifycode` VARCHAR(31) NOT NULL ,
+ `status` ENUM('verified','unverified') NOT NULL DEFAULT 'unverified' ,
`type` ENUM('client','helpdesk','accountant','admin') NOT NULL ,
`regdate` TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP ,
PRIMARY KEY (`id`)