diff options
author | arf20 <aruizfernandez05@gmail.com> | 2024-03-18 17:55:48 +0100 |
---|---|---|
committer | arf20 <aruizfernandez05@gmail.com> | 2024-03-18 17:55:48 +0100 |
commit | 4c4b8df824dcd2fd3ac4b8d486181ec87a0f13cd (patch) | |
tree | 3748190bf03444a6fa39624fbe75df462f7fddcd /dbinit.sql | |
parent | 6bf04fb78dddeef3d95a4dfd7de75546055e04b0 (diff) | |
download | arfnet2-cstims-4c4b8df824dcd2fd3ac4b8d486181ec87a0f13cd.tar.gz arfnet2-cstims-4c4b8df824dcd2fd3ac4b8d486181ec87a0f13cd.zip |
Add manageorders, fix services edit
Diffstat (limited to 'dbinit.sql')
-rw-r--r-- | dbinit.sql | 11 |
1 files changed, 11 insertions, 0 deletions
@@ -20,3 +20,14 @@ CREATE TABLE `arfnet2`.`services` ( `description` TEXT NOT NULL , PRIMARY KEY (`id`) ); + +CREATE TABLE `arfnet2`.`orders` ( + `id` INT NOT NULL AUTO_INCREMENT , + `service` INT NOT NULL , + `name` VARCHAR(255) NOT NULL , + `client` INT NOT NULL , + `billing` VARCHAR(255) NOT NULL , + `date` TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP , + `comments` TEXT NOT NULL , + PRIMARY KEY (`id`) +); |