aboutsummaryrefslogtreecommitdiff
path: root/dbinit.sql
diff options
context:
space:
mode:
authorarf20 <aruizfernandez05@gmail.com>2024-03-18 17:55:48 +0100
committerarf20 <aruizfernandez05@gmail.com>2024-03-18 17:55:48 +0100
commit4c4b8df824dcd2fd3ac4b8d486181ec87a0f13cd (patch)
tree3748190bf03444a6fa39624fbe75df462f7fddcd /dbinit.sql
parent6bf04fb78dddeef3d95a4dfd7de75546055e04b0 (diff)
downloadarfnet2-cstims-4c4b8df824dcd2fd3ac4b8d486181ec87a0f13cd.tar.gz
arfnet2-cstims-4c4b8df824dcd2fd3ac4b8d486181ec87a0f13cd.zip
Add manageorders, fix services edit
Diffstat (limited to 'dbinit.sql')
-rw-r--r--dbinit.sql11
1 files changed, 11 insertions, 0 deletions
diff --git a/dbinit.sql b/dbinit.sql
index 7fdc06e..7f7dec9 100644
--- a/dbinit.sql
+++ b/dbinit.sql
@@ -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`)
+);