From 41db04eb0ebe85c3f1e9dd5df2c7025103cea74c Mon Sep 17 00:00:00 2001 From: objecttothis Date: Tue, 4 Dec 2018 17:38:17 +0400 Subject: [PATCH] Removed rows associated with custom fields in ospos_app_config --- application/migrations/sqlscripts/attributes.sql | 2 ++ 1 file changed, 2 insertions(+) diff --git a/application/migrations/sqlscripts/attributes.sql b/application/migrations/sqlscripts/attributes.sql index d7137c3b3..74a61100b 100644 --- a/application/migrations/sqlscripts/attributes.sql +++ b/application/migrations/sqlscripts/attributes.sql @@ -180,3 +180,5 @@ ALTER TABLE `ospos_items` DROP COLUMN `custom8`, DROP COLUMN `custom9`, DROP COLUMN `custom10`; + + DELETE FROM `ospos_app_config` WHERE `key` IN ('custom1_name','custom2_name','custom3_name','custom4_name','custom5_name','custom6_name','custom7_name','custom8_name','custom9_name','custom10_name');