From 40706b688b513f753b76f0697a05b738f001a583 Mon Sep 17 00:00:00 2001 From: Bernat Date: Thu, 29 Nov 2018 12:11:00 +0100 Subject: [PATCH] add table ticketservice --- .../db/install/changes/1.2-CHECK/16-ticketService.sql | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 services/db/install/changes/1.2-CHECK/16-ticketService.sql diff --git a/services/db/install/changes/1.2-CHECK/16-ticketService.sql b/services/db/install/changes/1.2-CHECK/16-ticketService.sql new file mode 100644 index 000000000..ca809f0dd --- /dev/null +++ b/services/db/install/changes/1.2-CHECK/16-ticketService.sql @@ -0,0 +1,11 @@ +use `vn`; +CREATE TABLE `ticketService` ( + `id` int(11) NOT NULL AUTO_INCREMENT, + `description` varchar(45) COLLATE utf8_unicode_ci DEFAULT NULL, + `quantity` int(11) NOT NULL DEFAULT '0', + `price` decimal(10,2) unsigned NOT NULL DEFAULT '0.00', + `taxClassFk` tinyint(3) unsigned DEFAULT NULL, + PRIMARY KEY (`id`), + KEY `ticketServiceIvaGroup_idx` (`taxClassFk`), + CONSTRAINT `ticketServiceIvaGroup` FOREIGN KEY (`taxClassFk`) REFERENCES `vn2008`.`iva_group` (`iva_group_id`) ON UPDATE CASCADE +) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;