diff options
author | arf20 <aruizfernandez05@gmail.com> | 2024-03-24 01:41:55 +0100 |
---|---|---|
committer | arf20 <aruizfernandez05@gmail.com> | 2024-03-24 01:41:55 +0100 |
commit | 8a1f665f1ff9c5084b9c6372d21b49e8a36713b3 (patch) | |
tree | c21fa06a72ee9fb7147e4fb16d02a77b6f29000d /dbinit.sql | |
parent | 0c86e53fb5d51ae1c853226ebc6673dbca17deca (diff) | |
download | arfnet2-cstims-8a1f665f1ff9c5084b9c6372d21b49e8a36713b3.tar.gz arfnet2-cstims-8a1f665f1ff9c5084b9c6372d21b49e8a36713b3.zip |
Invoice management
Diffstat (limited to 'dbinit.sql')
-rw-r--r-- | dbinit.sql | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -47,10 +47,11 @@ CREATE TABLE `arfnet2`.`tickets` ( CREATE TABLE `arfnet2`.`invoices` ( `id` INT NOT NULL AUTO_INCREMENT , - `order` INT NOT NULL , + `client` INT NOT NULL , `desc` VARCHAR(255) NOT NULL , - `date` TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP , + `amount` DECIMAL(10, 4) NOT NULL , `pdf` MEDIUMBLOB NOT NULL , + `date` TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP , `status` ENUM('paid','unpaid') NOT NULL DEFAULT 'unpaid' , PRIMARY KEY (`id`) ); |