From ffc42b7fea75c8e0c04643222817be6eb556b1d2 Mon Sep 17 00:00:00 2001 From: jekkos Date: Fri, 24 Apr 2015 09:12:05 +0200 Subject: [PATCH] Correct latest alter table statements for --- database/2.3.1_to_2.3.2.sql | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/database/2.3.1_to_2.3.2.sql b/database/2.3.1_to_2.3.2.sql index a6532d5352..af73673acb 100644 --- a/database/2.3.1_to_2.3.2.sql +++ b/database/2.3.1_to_2.3.2.sql @@ -39,9 +39,9 @@ ALTER TABLE `ospos_people` ALTER TABLE `ospos_sales` DROP COLUMN `payment_type`, ADD INDEX `sale_time` (`sale_time`); - + ALTER TABLE `ospos_customers` - `company_name` varchar(255) DEFAULT NULL; + ADD COLUMN `company_name` varchar(255) DEFAULT NULL; ALTER TABLE `ospos_giftcards` - `person_id` int(10) DEFAULT NULL; + MODIFY `person_id` int(10) DEFAULT NULL;