From e9e9b918a3e98ba2352dc953b1d66d8ac0292d73 Mon Sep 17 00:00:00 2001 From: Manish Verma Date: Mon, 28 Nov 2016 11:32:04 +0530 Subject: [PATCH] update-patch # updates for database updates --- .../Updatedatabase.sql | 2 +- .../Updatedatabase.sql | 22 +++++++++---------- 2 files changed, 11 insertions(+), 13 deletions(-) diff --git a/DB/update from 1.0.7.8 to 1.0.7.9/Updatedatabase.sql b/DB/update from 1.0.7.8 to 1.0.7.9/Updatedatabase.sql index d774a50f3..4b64bf6d2 100644 --- a/DB/update from 1.0.7.8 to 1.0.7.9/Updatedatabase.sql +++ b/DB/update from 1.0.7.8 to 1.0.7.9/Updatedatabase.sql @@ -42,4 +42,4 @@ CREATE TABLE IF NOT EXISTS `field_values` ( -- UPDATE `settings_ticket` SET `num_format` = '$$$$-####-####', `num_sequence` = 'sequence' WHERE `id` = 1; ----------------------------------------------------------------------- \ No newline at end of file +-- -------------------------------------------------------------------- \ No newline at end of file diff --git a/DB/update from 1.0.7.9 to 1.0.8.0/Updatedatabase.sql b/DB/update from 1.0.7.9 to 1.0.8.0/Updatedatabase.sql index 0b6486535..4d215f209 100644 --- a/DB/update from 1.0.7.9 to 1.0.8.0/Updatedatabase.sql +++ b/DB/update from 1.0.7.9 to 1.0.8.0/Updatedatabase.sql @@ -201,9 +201,7 @@ CREATE TABLE IF NOT EXISTS `user_additional_infos` ( -- Alter Table structure for table `common_settings` -- INSERT INTO `common_settings` (`id`, `option_name`, `option_value`, `status`, `optional_field`, `created_at`, `updated_at`) -VALUES (4, 'send_otp', '',0,'','2016-06-14 09:07:17','2016-06-14 09:07:17'), - (5, 'email_mandatory', '',1,'','2016-06-14 09:07:17','2016-06-14 09:07:17'), - (6, 'user_priority', '', '0', '', '2016-10-09 15:32:50', '2016-10-09 15:32:50'); +VALUES (6, 'user_priority', '', '0', '', '2016-10-09 15:32:50', '2016-10-09 15:32:50'); -- -------------------------------------------------------- -- @@ -289,14 +287,6 @@ ALTER TABLE `users` MODIFY `mobile` VARCHAR(30) DEFAULT NULL; UPDATE `users` SET `mobile` = NULL WHERE `mobile` = ''; ALTER TABLE `users` ADD UNIQUE (`mobile`); --- -------------------------------------------------------------------- - --- --- Alter `settings_ticket` table --- -UPDATE `settings_ticket` -SET `num_format` = '$$$$-####-###' , `num_sequence` = 'sequence'; - -- ---------------------------------------------------------------------- -- @@ -341,4 +331,12 @@ INSERT INTO `ticket_source` (`id`, `name`, `value`, `css_class`) VALUES (5, 'twitter', 'Twitter', 'fa fa-twitter'), (6, 'call', 'Call', 'fa fa-phone'), (7, 'chat', 'Chat', 'fa fa-comment'); --- ---------------------------------------------------------------------- \ No newline at end of file +-- ---------------------------------------------------------------------- + +-- +-- Alter tickets table +-- + +ALTER TABLE `tickets` +ADD COLUMN `approval` tinyint(10), +ADD COLUMN `follow_up` tinyint(10) ; \ No newline at end of file