diff options
author | arf20 <aruizfernandez05@gmail.com> | 2024-03-18 19:47:44 +0100 |
---|---|---|
committer | arf20 <aruizfernandez05@gmail.com> | 2024-03-18 19:47:44 +0100 |
commit | 0cb2a90f5422ca5c2f04ecf986a555c758afae61 (patch) | |
tree | cfd6b0ba24e1791991cd4c438fe7509caa7517bb /dbinit.sql | |
parent | 4c4b8df824dcd2fd3ac4b8d486181ec87a0f13cd (diff) | |
download | arfnet2-cstims-0cb2a90f5422ca5c2f04ecf986a555c758afae61.tar.gz arfnet2-cstims-0cb2a90f5422ca5c2f04ecf986a555c758afae61.zip |
Client sees orders, order status
Diffstat (limited to 'dbinit.sql')
-rw-r--r-- | dbinit.sql | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -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`) ); |