Adding the additional fields to database.sql to get the database up to date with this version of code.

git-svn-id: svn+ssh://jekkos@svn.code.sf.net/p/opensourcepos/code/@82 c3eb156b-1dc0-44e1-88ae-e38439141b53
This commit is contained in:
pappastech
2013-10-28 01:47:48 +00:00
parent d2167db8c6
commit a7ac6e84b3

View File

@@ -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`)