aboutsummaryrefslogtreecommitdiff
path: root/dbinit.sql
diff options
context:
space:
mode:
authorarf20 <aruizfernandez05@gmail.com>2024-03-18 19:47:44 +0100
committerarf20 <aruizfernandez05@gmail.com>2024-03-18 19:47:44 +0100
commit0cb2a90f5422ca5c2f04ecf986a555c758afae61 (patch)
treecfd6b0ba24e1791991cd4c438fe7509caa7517bb /dbinit.sql
parent4c4b8df824dcd2fd3ac4b8d486181ec87a0f13cd (diff)
downloadarfnet2-cstims-0cb2a90f5422ca5c2f04ecf986a555c758afae61.tar.gz
arfnet2-cstims-0cb2a90f5422ca5c2f04ecf986a555c758afae61.zip
Client sees orders, order status
Diffstat (limited to 'dbinit.sql')
-rw-r--r--dbinit.sql3
1 files changed, 2 insertions, 1 deletions
diff --git a/dbinit.sql b/dbinit.sql
index 7f7dec9..506729a 100644
--- a/dbinit.sql
+++ b/dbinit.sql
@@ -6,9 +6,9 @@ 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 ,
+ `status` ENUM('verified','unverified') NOT NULL DEFAULT 'unverified' ,
PRIMARY KEY (`id`)
);
@@ -28,6 +28,7 @@ CREATE TABLE `arfnet2`.`orders` (
`client` INT NOT NULL ,
`billing` VARCHAR(255) NOT NULL ,
`date` TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP ,
+ `status` ENUM('active','inactive') NOT NULL ,
`comments` TEXT NOT NULL ,
PRIMARY KEY (`id`)
);