From a7ac6e84b32c3eeca7ff5c84c917979b975c9d86 Mon Sep 17 00:00:00 2001 From: pappastech Date: Mon, 28 Oct 2013 01:47:48 +0000 Subject: [PATCH] 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 --- database/database.sql | 11 +++++++++++ 1 file changed, 11 insertions(+) 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`)