diff --git a/database/database.sql b/database/database.sql index ea1fb66fa..47f7dd091 100644 --- a/database/database.sql +++ b/database/database.sql @@ -91,6 +91,7 @@ CREATE TABLE `ospos_giftcards` ( `giftcard_number` varchar(25) COLLATE utf8_unicode_ci NOT NULL, `value` double(15,2) NOT NULL, `deleted` int(1) NOT NULL DEFAULT '0', + `person_id` INT NOT NULL PRIMARY KEY (`giftcard_id`), UNIQUE KEY `giftcard_number` (`giftcard_number`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci AUTO_INCREMENT=48 ; @@ -144,6 +145,16 @@ CREATE TABLE `ospos_items` ( `allow_alt_description` tinyint(1) NOT NULL, `is_serialized` tinyint(1) NOT NULL, `deleted` int(1) NOT NULL DEFAULT '0', + `custom1` VARCHAR(25) NOT NULL, + `custom2` VARCHAR(25) NOT NULL, + `custom3` VARCHAR(25) NOT NULL, + `custom4` VARCHAR(25) NOT NULL, + `custom5` VARCHAR(25) NOT NULL, + `custom6` VARCHAR(25) NOT NULL, + `custom7` VARCHAR(25) NOT NULL, + `custom8` VARCHAR(25) NOT NULL, + `custom9` VARCHAR(25) NOT NULL, + `custom10` VARCHAR(25) NOT NULL, PRIMARY KEY (`item_id`), UNIQUE KEY `item_number` (`item_number`), KEY `ospos_items_ibfk_1` (`supplier_id`)