whoami7 - Manager
:
/
home
/
kckglobal
/
.cpanel
/
logs
/
restoredb
/
Upload File:
files >> /home/kckglobal/.cpanel/logs/restoredb/2024-01-10T09:35:53Z.1.log
{"type":"info","name":"no-virus","data":{"file":"kckglobal_portal.sql","description":"No virus detected in upload “kckglobal_portal.sql”."}} {"data":{"database":"kckglobal_portal","file":"kckglobal_portal.sql","description":"The system identified the database name for the backup file “kckglobal_portal.sql” to be “kckglobal_portal”."},"name":"database_name","type":"debug"} {"name":"database_create","data":{"database":"kckglobal_portal","description":"The system created the database “kckglobal_portal” since it did not exist.","file":"kckglobal_portal.sql"},"type":"info"} {"type":"debug","data":{"username":"kckglobal_10rxbxr","description":"The system created a temporary database user “kckglobal_10rxbxr”.","file":"kckglobal_portal.sql"},"name":"created_temp_database_user"} {"type":"debug","name":"linked_temp_database_user_to_database","data":{"database":"kckglobal_portal","username":"kckglobal_10rxbxr","file":"kckglobal_portal.sql","description":"The system linked the temporary database user “kckglobal_10rxbxr” to the database “kckglobal_portal”."}} {"name":"restoring_start","data":{"description":"The system is starting to restore the database backup “kckglobal_portal.sql”.","file":"kckglobal_portal.sql"},"type":"info"} {"type":"debug","data":{"file":"kckglobal_portal.sql","description":"--------------\n/*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */\n--------------\n\n--------------\n/*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */\n--------------\n\n--------------\n/*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */\n--------------\n\n--------------\n/*!40101 SET NAMES utf8mb4 */\n--------------\n\n--------------\n/*!40103 SET @OLD_TIME_ZONE=@@TIME_ZONE */\n--------------\n\n--------------\n/*!40103 SET TIME_ZONE='+00:00' */\n--------------\n\n--------------\n/*!40014 SET @OLD_UNIQUE_CHECKS=@@UNIQUE_CHECKS, UNIQUE_CHECKS=0 */\n--------------\n\n--------------\n/*!40014 SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS=0 */\n--------------\n\n--------------\n/*!40101 SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO' */\n--------------\n\n--------------\n/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */\n--------------\n\n--------------\nDROP TABLE IF EXISTS `accept_estimates`\n--------------\n\n--------------\n/*!40101 SET @saved_cs_client = @@cha"},"name":"restoring"} {"type":"debug","data":{"description":"racter_set_client */\n--------------\n\n--------------\n/*!40101 SET character_set_client = utf8 */\n--------------\n\n--------------\nCREATE TABLE `accept_estimates` (\n `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,\n `company_id` int(10) unsigned DEFAULT NULL,\n `estimate_id` int(10) unsigned NOT NULL,\n `full_name` varchar(191) NOT NULL,\n `email` varchar(191) NOT NULL,\n `signature` varchar(191) NOT NULL,\n `created_at` timestamp NULL DEFAULT NULL,\n `updated_at` timestamp NULL DEFAULT NULL,\n PRIMARY KEY (`id`),\n KEY `accept_estimates_company_id_foreign` (`company_id`),\n KEY `accept_estimates_estimate_id_foreign` (`estimate_id`),\n CONSTRAINT `accept_estimates_company_id_foreign` FOREIGN KEY (`company_id`) REFERENCES `companies` (`id`) ON DELETE CASCADE ON UPDATE CASCADE,\n CONSTRAINT `accept_estimates_estimate_id_foreign` FOREIGN KEY (`estimate_id`) REFERENCES `estimates` (`id`) ON DELETE CASCADE ON UPDATE CASCADE\n) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci\n--------------\n\n---------","file":"kckglobal_portal.sql"},"name":"restoring"} {"type":"debug","name":"restoring","data":{"description":"-----\n/*!40101 SET character_set_client = @saved_cs_client */\n--------------\n\n--------------\nLOCK TABLES `accept_estimates` WRITE\n--------------\n\n--------------\n/*!40000 ALTER TABLE `accept_estimates` DISABLE KEYS */\n--------------\n\n--------------\n/*!40000 ALTER TABLE `accept_estimates` ENABLE KEYS */\n--------------\n\n--------------\nUNLOCK TABLES\n--------------\n\n--------------\nDROP TABLE IF EXISTS `appreciations`\n--------------\n\n--------------\n/*!40101 SET @saved_cs_client = @@character_set_client */\n--------------\n\n--------------\n/*!40101 SET character_set_client = utf8 */\n--------------\n\n--------------\nCREATE TABLE `appreciations` (\n `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,\n `company_id` int(10) unsigned DEFAULT NULL,\n `award_id` bigint(20) unsigned NOT NULL,\n `award_to` int(10) unsigned NOT NULL,\n `award_date` date NOT NULL,\n `image` varchar(191) DEFAULT NULL,\n `summary` text DEFAULT NULL,\n `added_by` int(10) unsigned NOT NULL,\n `created_at` timestamp NULL DEFAULT NULL,\n `updated_at` ","file":"kckglobal_portal.sql"}} {"type":"debug","name":"restoring","data":{"description":"timestamp NULL DEFAULT NULL,\n PRIMARY KEY (`id`),\n KEY `appreciations_company_id_foreign` (`company_id`),\n KEY `appreciations_award_id_foreign` (`award_id`),\n KEY `appreciations_award_to_foreign` (`award_to`),\n KEY `appreciations_added_by_foreign` (`added_by`),\n CONSTRAINT `appreciations_added_by_foreign` FOREIGN KEY (`added_by`) REFERENCES `users` (`id`) ON DELETE CASCADE ON UPDATE CASCADE,\n CONSTRAINT `appreciations_award_id_foreign` FOREIGN KEY (`award_id`) REFERENCES `awards` (`id`) ON DELETE CASCADE ON UPDATE CASCADE,\n CONSTRAINT `appreciations_award_to_foreign` FOREIGN KEY (`award_to`) REFERENCES `users` (`id`) ON DELETE CASCADE ON UPDATE CASCADE,\n CONSTRAINT `appreciations_company_id_foreign` FOREIGN KEY (`company_id`) REFERENCES `companies` (`id`) ON DELETE CASCADE ON UPDATE CASCADE\n) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci\n--------------\n\n--------------\n/*!40101 SET character_set_client = @saved_cs_client */\n--------------\n\n--------------\nLOCK TABLES `appreciations` ","file":"kckglobal_portal.sql"}} {"name":"restoring","data":{"file":"kckglobal_portal.sql","description":"WRITE\n--------------\n\n--------------\n/*!40000 ALTER TABLE `appreciations` DISABLE KEYS */\n--------------\n\n--------------\n/*!40000 ALTER TABLE `appreciations` ENABLE KEYS */\n--------------\n\n--------------\nUNLOCK TABLES\n--------------\n\n--------------\nDROP TABLE IF EXISTS `attendance_settings`\n--------------\n\n--------------\n/*!40101 SET @saved_cs_client = @@character_set_client */\n--------------\n\n--------------\n/*!40101 SET character_set_client = utf8 */\n--------------\n\n--------------\nCREATE TABLE `attendance_settings` (\n `id` int(10) unsigned NOT NULL AUTO_INCREMENT,\n `company_id` int(10) unsigned DEFAULT NULL,\n `auto_clock_in` enum('yes','no') NOT NULL DEFAULT 'no',\n `auto_clock_in_location` enum('office','home') NOT NULL DEFAULT 'office',\n `office_start_time` time NOT NULL,\n `office_end_time` time NOT NULL,\n `halfday_mark_time` time DEFAULT NULL,\n `late_mark_duration` tinyint(4) NOT NULL,\n `clockin_in_day` int(11) NOT NULL DEFAULT 1,\n `employee_clock_in_out` enum('yes','no') NOT NULL DEFAULT 'ye"},"type":"debug"} {"name":"restoring","data":{"file":"kckglobal_portal.sql","description":"s',\n `office_open_days` varchar(191) NOT NULL DEFAULT '[1,2,3,4,5]',\n `ip_address` text DEFAULT NULL,\n `radius` int(11) DEFAULT NULL,\n `radius_check` enum('yes','no') NOT NULL DEFAULT 'no',\n `ip_check` enum('yes','no') NOT NULL DEFAULT 'no',\n `alert_after` int(11) DEFAULT NULL,\n `alert_after_status` tinyint(1) NOT NULL DEFAULT 1,\n `save_current_location` tinyint(1) NOT NULL DEFAULT 0,\n `default_employee_shift` bigint(20) unsigned DEFAULT 1,\n `week_start_from` varchar(191) NOT NULL DEFAULT '1',\n `allow_shift_change` tinyint(1) NOT NULL DEFAULT 1,\n `show_clock_in_button` enum('yes','no') NOT NULL DEFAULT 'no',\n `created_at` timestamp NULL DEFAULT NULL,\n `updated_at` timestamp NULL DEFAULT NULL,\n `monthly_report` tinyint(1) NOT NULL DEFAULT 0,\n `monthly_report_roles` varchar(191) DEFAULT NULL,\n PRIMARY KEY (`id`),\n KEY `attendance_settings_company_id_foreign` (`company_id`),\n KEY `attendance_settings_default_employee_shift_foreign` (`default_employee_shift`),\n CONSTRAINT `attendance_settings_"},"type":"debug"} {"type":"debug","data":{"file":"kckglobal_portal.sql","description":"company_id_foreign` FOREIGN KEY (`company_id`) REFERENCES `companies` (`id`) ON DELETE CASCADE ON UPDATE CASCADE,\n CONSTRAINT `attendance_settings_default_employee_shift_foreign` FOREIGN KEY (`default_employee_shift`) REFERENCES `employee_shifts` (`id`) ON DELETE SET NULL ON UPDATE CASCADE\n) ENGINE=InnoDB AUTO_INCREMENT=2 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci\n--------------\n\n--------------\n/*!40101 SET character_set_client = @saved_cs_client */\n--------------\n\n--------------\nLOCK TABLES `attendance_settings` WRITE\n--------------\n\n--------------\n/*!40000 ALTER TABLE `attendance_settings` DISABLE KEYS */\n--------------\n\n--------------\nINSERT INTO `attendance_settings` (`id`, `company_id`, `auto_clock_in`, `auto_clock_in_location`, `office_start_time`, `office_end_time`, `halfday_mark_time`, `late_mark_duration`, `clockin_in_day`, `employee_clock_in_out`, `office_open_days`, `ip_address`, `radius`, `radius_check`, `ip_check`, `alert_after`, `alert_after_status`, `save_current_location`, `default_em"},"name":"restoring"} {"name":"restoring","data":{"file":"kckglobal_portal.sql","description":"ployee_shift`, `week_start_from`, `allow_shift_change`, `show_clock_in_button`, `created_at`, `updated_at`, `monthly_report`, `monthly_report_roles`) VALUES (1,1,'no','office','09:00:00','18:00:00',NULL,20,1,'yes','[1,2,3,4,5]',NULL,NULL,'no','no',NULL,0,0,2,'1',1,'no','2023-11-24 01:42:54','2023-11-24 01:42:54',0,NULL)\n--------------\n\n--------------\n/*!40000 ALTER TABLE `attendance_settings` ENABLE KEYS */\n--------------\n\n--------------\nUNLOCK TABLES\n--------------\n\n--------------\nDROP TABLE IF EXISTS `attendances`\n--------------\n\n--------------\n/*!40101 SET @saved_cs_client = @@character_set_client */\n--------------\n\n--------------\n/*!40101 SET character_set_client = utf8 */\n--------------\n\n--------------\nCREATE TABLE `attendances` (\n `id` int(10) unsigned NOT NULL AUTO_INCREMENT,\n `company_id` int(10) unsigned DEFAULT NULL,\n `user_id` int(10) unsigned NOT NULL,\n `location_id` bigint(20) unsigned DEFAULT NULL,\n `clock_in_time` datetime NOT NULL,\n `clock_out_time` datetime DEFAULT NULL,\n `clock_in"},"type":"debug"} {"type":"debug","data":{"description":"_ip` varchar(191) NOT NULL,\n `clock_out_ip` varchar(191) DEFAULT NULL,\n `working_from` varchar(191) DEFAULT 'office',\n `late` enum('yes','no') NOT NULL DEFAULT 'no',\n `half_day` enum('yes','no') NOT NULL,\n `added_by` int(10) unsigned DEFAULT NULL,\n `last_updated_by` int(10) unsigned DEFAULT NULL,\n `latitude` decimal(10,8) DEFAULT NULL,\n `longitude` decimal(11,8) DEFAULT NULL,\n `shift_start_time` datetime DEFAULT NULL,\n `shift_end_time` datetime DEFAULT NULL,\n `employee_shift_id` bigint(20) unsigned DEFAULT NULL,\n `created_at` timestamp NULL DEFAULT NULL,\n `updated_at` timestamp NULL DEFAULT NULL,\n `work_from_type` enum('home','office','other') NOT NULL DEFAULT 'other',\n `overwrite_attendance` enum('yes','no') NOT NULL DEFAULT 'no',\n PRIMARY KEY (`id`),\n KEY `attendances_company_id_foreign` (`company_id`),\n KEY `attendances_user_id_foreign` (`user_id`),\n KEY `attendances_location_id_foreign` (`location_id`),\n KEY `attendances_clock_in_time_index` (`clock_in_time`),\n KEY `attendances_clock_","file":"kckglobal_portal.sql"},"name":"restoring"} {"type":"debug","name":"restoring","data":{"file":"kckglobal_portal.sql","description":"out_time_index` (`clock_out_time`),\n KEY `attendances_added_by_foreign` (`added_by`),\n KEY `attendances_last_updated_by_foreign` (`last_updated_by`),\n KEY `attendances_employee_shift_id_foreign` (`employee_shift_id`),\n CONSTRAINT `attendances_added_by_foreign` FOREIGN KEY (`added_by`) REFERENCES `users` (`id`) ON DELETE SET NULL ON UPDATE CASCADE,\n CONSTRAINT `attendances_company_id_foreign` FOREIGN KEY (`company_id`) REFERENCES `companies` (`id`) ON DELETE CASCADE ON UPDATE CASCADE,\n CONSTRAINT `attendances_employee_shift_id_foreign` FOREIGN KEY (`employee_shift_id`) REFERENCES `employee_shifts` (`id`) ON DELETE SET NULL ON UPDATE CASCADE,\n CONSTRAINT `attendances_last_updated_by_foreign` FOREIGN KEY (`last_updated_by`) REFERENCES `users` (`id`) ON DELETE SET NULL ON UPDATE CASCADE,\n CONSTRAINT `attendances_location_id_foreign` FOREIGN KEY (`location_id`) REFERENCES `company_addresses` (`id`) ON DELETE SET NULL ON UPDATE CASCADE,\n CONSTRAINT `attendances_user_id_foreign` FOREIGN KEY (`user_id`) REFE"}} {"type":"debug","data":{"description":"RENCES `users` (`id`) ON DELETE CASCADE ON UPDATE CASCADE\n) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci\n--------------\n\n--------------\n/*!40101 SET character_set_client = @saved_cs_client */\n--------------\n\n--------------\nLOCK TABLES `attendances` WRITE\n--------------\n\n--------------\n/*!40000 ALTER TABLE `attendances` DISABLE KEYS */\n--------------\n\n--------------\n/*!40000 ALTER TABLE `attendances` ENABLE KEYS */\n--------------\n\n--------------\nUNLOCK TABLES\n--------------\n\n--------------\nDROP TABLE IF EXISTS `award_icons`\n--------------\n\n--------------\n/*!40101 SET @saved_cs_client = @@character_set_client */\n--------------\n\n--------------\n/*!40101 SET character_set_client = utf8 */\n--------------\n\n--------------\nCREATE TABLE `award_icons` (\n `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,\n `title` varchar(191) NOT NULL,\n `icon` varchar(191) NOT NULL,\n `created_at` timestamp NULL DEFAULT NULL,\n `updated_at` timestamp NULL DEFAULT NULL,\n PRIMARY KEY (`id`)\n) ENGINE=InnoDB AUTO_","file":"kckglobal_portal.sql"},"name":"restoring"} {"name":"restoring","data":{"description":"INCREMENT=11 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci\n--------------\n\n--------------\n/*!40101 SET character_set_client = @saved_cs_client */\n--------------\n\n--------------\nLOCK TABLES `award_icons` WRITE\n--------------\n\n--------------\n/*!40000 ALTER TABLE `award_icons` DISABLE KEYS */\n--------------\n\n--------------\nINSERT INTO `award_icons` (`id`, `title`, `icon`, `created_at`, `updated_at`) VALUES (1,'Trophy','trophy','2023-11-24 01:42:53','2023-11-24 01:42:53'),(2,'Thumbs Up','hand-thumbs-up','2023-11-24 01:42:53','2023-11-24 01:42:53'),(3,'Award','award','2023-11-24 01:42:53','2023-11-24 01:42:53'),(4,'Book','book','2023-11-24 01:42:53','2023-11-24 01:42:53'),(5,'Gift','gift','2023-11-24 01:42:53','2023-11-24 01:42:53'),(6,'Watch','watch','2023-11-24 01:42:53','2023-11-24 01:42:53'),(7,'Cup','cup-hot','2023-11-24 01:42:53','2023-11-24 01:42:53'),(8,'Puzzle','puzzle','2023-11-24 01:42:53','2023-11-24 01:42:53'),(9,'Plane','airplane','2023-11-24 01:42:53','2023-11-24 01:42:53'),(10,'Money','piggy-b","file":"kckglobal_portal.sql"},"type":"debug"} {"data":{"description":"ank','2023-11-24 01:42:53','2023-11-24 01:42:53')\n--------------\n\n--------------\n/*!40000 ALTER TABLE `award_icons` ENABLE KEYS */\n--------------\n\n--------------\nUNLOCK TABLES\n--------------\n\n--------------\nDROP TABLE IF EXISTS `awards`\n--------------\n\n--------------\n/*!40101 SET @saved_cs_client = @@character_set_client */\n--------------\n\n--------------\n/*!40101 SET character_set_client = utf8 */\n--------------\n\n--------------\nCREATE TABLE `awards` (\n `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,\n `company_id` int(10) unsigned DEFAULT NULL,\n `title` varchar(191) NOT NULL,\n `award_icon_id` bigint(20) unsigned DEFAULT NULL,\n `summary` text DEFAULT NULL,\n `status` enum('active','inactive') NOT NULL DEFAULT 'active',\n `color_code` varchar(191) NOT NULL,\n `created_at` timestamp NULL DEFAULT NULL,\n `updated_at` timestamp NULL DEFAULT NULL,\n PRIMARY KEY (`id`),\n KEY `awards_company_id_foreign` (`company_id`),\n KEY `awards_award_icon_id_foreign` (`award_icon_id`),\n CONSTRAINT `awards_award_icon_","file":"kckglobal_portal.sql"},"name":"restoring","type":"debug"} {"name":"restoring","data":{"file":"kckglobal_portal.sql","description":"id_foreign` FOREIGN KEY (`award_icon_id`) REFERENCES `award_icons` (`id`) ON DELETE CASCADE ON UPDATE CASCADE,\n CONSTRAINT `awards_company_id_foreign` FOREIGN KEY (`company_id`) REFERENCES `companies` (`id`) ON DELETE CASCADE ON UPDATE CASCADE\n) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci\n--------------\n\n--------------\n/*!40101 SET character_set_client = @saved_cs_client */\n--------------\n\n--------------\nLOCK TABLES `awards` WRITE\n--------------\n\n--------------\n/*!40000 ALTER TABLE `awards` DISABLE KEYS */\n--------------\n\n--------------\n/*!40000 ALTER TABLE `awards` ENABLE KEYS */\n--------------\n\n--------------\nUNLOCK TABLES\n--------------\n\n--------------\nDROP TABLE IF EXISTS `bank_accounts`\n--------------\n\n--------------\n/*!40101 SET @saved_cs_client = @@character_set_client */\n--------------\n\n--------------\n/*!40101 SET character_set_client = utf8 */\n--------------\n\n--------------\nCREATE TABLE `bank_accounts` (\n `id` int(10) unsigned NOT NULL AUTO_INCREMENT,\n `company_id` int(10)"},"type":"debug"} {"name":"restoring","data":{"description":" unsigned DEFAULT NULL,\n `type` varchar(191) DEFAULT NULL,\n `bank_name` varchar(191) DEFAULT NULL,\n `account_name` varchar(191) DEFAULT NULL,\n `account_number` varchar(191) DEFAULT NULL,\n `account_type` varchar(191) DEFAULT NULL,\n `currency_id` int(10) unsigned DEFAULT NULL,\n `contact_number` varchar(191) DEFAULT NULL,\n `opening_balance` double(15,2) DEFAULT NULL,\n `bank_logo` varchar(191) DEFAULT NULL,\n `status` tinyint(1) DEFAULT NULL,\n `added_by` int(10) unsigned DEFAULT NULL,\n `last_updated_by` int(10) unsigned DEFAULT NULL,\n `bank_balance` double(16,2) DEFAULT NULL,\n `created_at` timestamp NULL DEFAULT NULL,\n `updated_at` timestamp NULL DEFAULT NULL,\n PRIMARY KEY (`id`),\n KEY `bank_accounts_company_id_foreign` (`company_id`),\n KEY `bank_accounts_currency_id_foreign` (`currency_id`),\n KEY `bank_accounts_added_by_foreign` (`added_by`),\n KEY `bank_accounts_last_updated_by_foreign` (`last_updated_by`),\n CONSTRAINT `bank_accounts_added_by_foreign` FOREIGN KEY (`added_by`) REFERENCES `user","file":"kckglobal_portal.sql"},"type":"debug"} {"type":"debug","name":"restoring","data":{"description":"s` (`id`) ON DELETE SET NULL ON UPDATE CASCADE,\n CONSTRAINT `bank_accounts_company_id_foreign` FOREIGN KEY (`company_id`) REFERENCES `companies` (`id`) ON DELETE CASCADE ON UPDATE CASCADE,\n CONSTRAINT `bank_accounts_currency_id_foreign` FOREIGN KEY (`currency_id`) REFERENCES `currencies` (`id`) ON DELETE SET NULL ON UPDATE CASCADE,\n CONSTRAINT `bank_accounts_last_updated_by_foreign` FOREIGN KEY (`last_updated_by`) REFERENCES `users` (`id`) ON DELETE SET NULL ON UPDATE CASCADE\n) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci\n--------------\n\n--------------\n/*!40101 SET character_set_client = @saved_cs_client */\n--------------\n\n--------------\nLOCK TABLES `bank_accounts` WRITE\n--------------\n\n--------------\n/*!40000 ALTER TABLE `bank_accounts` DISABLE KEYS */\n--------------\n\n--------------\n/*!40000 ALTER TABLE `bank_accounts` ENABLE KEYS */\n--------------\n\n--------------\nUNLOCK TABLES\n--------------\n\n--------------\nDROP TABLE IF EXISTS `bank_transactions`\n--------------\n\n--------------\n/*!401","file":"kckglobal_portal.sql"}} {"type":"debug","name":"restoring","data":{"file":"kckglobal_portal.sql","description":"01 SET @saved_cs_client = @@character_set_client */\n--------------\n\n--------------\n/*!40101 SET character_set_client = utf8 */\n--------------\n\n--------------\nCREATE TABLE `bank_transactions` (\n `id` int(10) unsigned NOT NULL AUTO_INCREMENT,\n `company_id` int(10) unsigned DEFAULT NULL,\n `bank_account_id` int(10) unsigned DEFAULT NULL,\n `payment_id` int(10) unsigned DEFAULT NULL,\n `invoice_id` int(10) unsigned DEFAULT NULL,\n `expense_id` int(10) unsigned DEFAULT NULL,\n `amount` double(15,2) DEFAULT NULL,\n `type` enum('Cr','Dr') NOT NULL DEFAULT 'Cr',\n `added_by` int(10) unsigned DEFAULT NULL,\n `last_updated_by` int(10) unsigned DEFAULT NULL,\n `memo` text DEFAULT NULL,\n `transaction_relation` varchar(191) DEFAULT NULL,\n `transaction_related_to` varchar(191) DEFAULT NULL,\n `title` text DEFAULT NULL,\n `transaction_date` date DEFAULT NULL,\n `bank_balance` double(16,2) DEFAULT NULL,\n `created_at` timestamp NULL DEFAULT NULL,\n `updated_at` timestamp NULL DEFAULT NULL,\n PRIMARY KEY (`id`),\n KEY"}} {"type":"debug","name":"restoring","data":{"file":"kckglobal_portal.sql","description":" `bank_transactions_company_id_foreign` (`company_id`),\n KEY `bank_transactions_bank_account_id_foreign` (`bank_account_id`),\n KEY `bank_transactions_payment_id_foreign` (`payment_id`),\n KEY `bank_transactions_invoice_id_foreign` (`invoice_id`),\n KEY `bank_transactions_expense_id_foreign` (`expense_id`),\n KEY `bank_transactions_added_by_foreign` (`added_by`),\n KEY `bank_transactions_last_updated_by_foreign` (`last_updated_by`),\n CONSTRAINT `bank_transactions_added_by_foreign` FOREIGN KEY (`added_by`) REFERENCES `users` (`id`) ON DELETE SET NULL ON UPDATE CASCADE,\n CONSTRAINT `bank_transactions_bank_account_id_foreign` FOREIGN KEY (`bank_account_id`) REFERENCES `bank_accounts` (`id`) ON DELETE CASCADE ON UPDATE CASCADE,\n CONSTRAINT `bank_transactions_company_id_foreign` FOREIGN KEY (`company_id`) REFERENCES `companies` (`id`) ON DELETE CASCADE ON UPDATE CASCADE,\n CONSTRAINT `bank_transactions_expense_id_foreign` FOREIGN KEY (`expense_id`) REFERENCES `expenses` (`id`) ON DELETE SET NULL ON UPDATE CASC"}} {"name":"restoring","data":{"description":"ADE,\n CONSTRAINT `bank_transactions_invoice_id_foreign` FOREIGN KEY (`invoice_id`) REFERENCES `invoices` (`id`) ON DELETE SET NULL ON UPDATE CASCADE,\n CONSTRAINT `bank_transactions_last_updated_by_foreign` FOREIGN KEY (`last_updated_by`) REFERENCES `users` (`id`) ON DELETE SET NULL ON UPDATE CASCADE,\n CONSTRAINT `bank_transactions_payment_id_foreign` FOREIGN KEY (`payment_id`) REFERENCES `payments` (`id`) ON DELETE SET NULL ON UPDATE CASCADE\n) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci\n--------------\n\n--------------\n/*!40101 SET character_set_client = @saved_cs_client */\n--------------\n\n--------------\nLOCK TABLES `bank_transactions` WRITE\n--------------\n\n--------------\n/*!40000 ALTER TABLE `bank_transactions` DISABLE KEYS */\n--------------\n\n--------------\n/*!40000 ALTER TABLE `bank_transactions` ENABLE KEYS */\n--------------\n\n--------------\nUNLOCK TABLES\n--------------\n\n--------------\nDROP TABLE IF EXISTS `client_categories`\n--------------\n\n--------------\n/*!40101 SET @saved_cs_client","file":"kckglobal_portal.sql"},"type":"debug"} {"type":"debug","name":"restoring","data":{"description":" = @@character_set_client */\n--------------\n\n--------------\n/*!40101 SET character_set_client = utf8 */\n--------------\n\n--------------\nCREATE TABLE `client_categories` (\n `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,\n `company_id` int(10) unsigned DEFAULT NULL,\n `category_name` varchar(191) NOT NULL,\n `created_at` timestamp NULL DEFAULT NULL,\n `updated_at` timestamp NULL DEFAULT NULL,\n PRIMARY KEY (`id`),\n KEY `client_categories_company_id_foreign` (`company_id`),\n CONSTRAINT `client_categories_company_id_foreign` FOREIGN KEY (`company_id`) REFERENCES `companies` (`id`) ON DELETE CASCADE ON UPDATE CASCADE\n) ENGINE=InnoDB AUTO_INCREMENT=2 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci\n--------------\n\n--------------\n/*!40101 SET character_set_client = @saved_cs_client */\n--------------\n\n--------------\nLOCK TABLES `client_categories` WRITE\n--------------\n\n--------------\n/*!40000 ALTER TABLE `client_categories` DISABLE KEYS */\n--------------\n\n--------------\nINSERT INTO `client_categories` (`id","file":"kckglobal_portal.sql"}} {"type":"debug","name":"restoring","data":{"file":"kckglobal_portal.sql","description":"`, `company_id`, `category_name`, `created_at`, `updated_at`) VALUES (1,1,'Healthcare','2023-12-19 08:56:09','2023-12-19 08:56:09')\n--------------\n\n--------------\n/*!40000 ALTER TABLE `client_categories` ENABLE KEYS */\n--------------\n\n--------------\nUNLOCK TABLES\n--------------\n\n--------------\nDROP TABLE IF EXISTS `client_contacts`\n--------------\n\n--------------\n/*!40101 SET @saved_cs_client = @@character_set_client */\n--------------\n\n--------------\n/*!40101 SET character_set_client = utf8 */\n--------------\n\n--------------\nCREATE TABLE `client_contacts` (\n `id` int(10) unsigned NOT NULL AUTO_INCREMENT,\n `company_id` int(10) unsigned DEFAULT NULL,\n `user_id` int(10) unsigned NOT NULL,\n `contact_name` varchar(191) NOT NULL,\n `phone` varchar(191) DEFAULT NULL,\n `email` varchar(191) DEFAULT NULL,\n `title` varchar(191) DEFAULT NULL,\n `added_by` int(10) unsigned DEFAULT NULL,\n `last_updated_by` int(10) unsigned DEFAULT NULL,\n `created_at` timestamp NULL DEFAULT NULL,\n `updated_at` timestamp NULL DEFA"}} {"name":"restoring","data":{"description":"ULT NULL,\n PRIMARY KEY (`id`),\n KEY `client_contacts_company_id_foreign` (`company_id`),\n KEY `client_contacts_user_id_foreign` (`user_id`),\n KEY `client_contacts_added_by_foreign` (`added_by`),\n KEY `client_contacts_last_updated_by_foreign` (`last_updated_by`),\n CONSTRAINT `client_contacts_added_by_foreign` FOREIGN KEY (`added_by`) REFERENCES `users` (`id`) ON DELETE SET NULL ON UPDATE CASCADE,\n CONSTRAINT `client_contacts_company_id_foreign` FOREIGN KEY (`company_id`) REFERENCES `companies` (`id`) ON DELETE CASCADE ON UPDATE CASCADE,\n CONSTRAINT `client_contacts_last_updated_by_foreign` FOREIGN KEY (`last_updated_by`) REFERENCES `users` (`id`) ON DELETE SET NULL ON UPDATE CASCADE,\n CONSTRAINT `client_contacts_user_id_foreign` FOREIGN KEY (`user_id`) REFERENCES `users` (`id`) ON DELETE CASCADE ON UPDATE CASCADE\n) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci\n--------------\n\n--------------\n/*!40101 SET character_set_client = @saved_cs_client */\n--------------\n\n--------------\nLOCK T","file":"kckglobal_portal.sql"},"type":"debug"} {"type":"debug","data":{"description":"ABLES `client_contacts` WRITE\n--------------\n\n--------------\n/*!40000 ALTER TABLE `client_contacts` DISABLE KEYS */\n--------------\n\n--------------\n/*!40000 ALTER TABLE `client_contacts` ENABLE KEYS */\n--------------\n\n--------------\nUNLOCK TABLES\n--------------\n\n--------------\nDROP TABLE IF EXISTS `client_details`\n--------------\n\n--------------\n/*!40101 SET @saved_cs_client = @@character_set_client */\n--------------\n\n--------------\n/*!40101 SET character_set_client = utf8 */\n--------------\n\n--------------\nCREATE TABLE `client_details` (\n `id` int(10) unsigned NOT NULL AUTO_INCREMENT,\n `company_id` int(10) unsigned DEFAULT NULL,\n `user_id` int(10) unsigned NOT NULL,\n `company_name` varchar(191) DEFAULT NULL,\n `address` text DEFAULT NULL,\n `shipping_address` text DEFAULT NULL,\n `postal_code` varchar(191) DEFAULT NULL,\n `state` varchar(191) DEFAULT NULL,\n `city` varchar(191) DEFAULT NULL,\n `office` varchar(191) DEFAULT NULL,\n `website` varchar(191) DEFAULT NULL,\n `note` text DEFAULT NULL,\n `linke","file":"kckglobal_portal.sql"},"name":"restoring"} {"type":"debug","name":"restoring","data":{"description":"din` varchar(191) DEFAULT NULL,\n `facebook` varchar(191) DEFAULT NULL,\n `twitter` varchar(191) DEFAULT NULL,\n `skype` varchar(191) DEFAULT NULL,\n `gst_number` varchar(191) DEFAULT NULL,\n `category_id` bigint(20) unsigned DEFAULT NULL,\n `sub_category_id` bigint(20) unsigned DEFAULT NULL,\n `added_by` int(10) unsigned DEFAULT NULL,\n `last_updated_by` int(10) unsigned DEFAULT NULL,\n `company_logo` varchar(191) DEFAULT NULL,\n `created_at` timestamp NULL DEFAULT NULL,\n `updated_at` timestamp NULL DEFAULT NULL,\n `quickbooks_client_id` int(11) DEFAULT NULL,\n PRIMARY KEY (`id`),\n KEY `client_details_company_id_foreign` (`company_id`),\n KEY `client_details_user_id_foreign` (`user_id`),\n KEY `client_details_category_id_foreign` (`category_id`),\n KEY `client_details_sub_category_id_foreign` (`sub_category_id`),\n KEY `client_details_added_by_foreign` (`added_by`),\n KEY `client_details_last_updated_by_foreign` (`last_updated_by`),\n CONSTRAINT `client_details_added_by_foreign` FOREIGN KEY (`added_by`) RE","file":"kckglobal_portal.sql"}} {"type":"debug","name":"restoring","data":{"description":"FERENCES `users` (`id`) ON DELETE SET NULL ON UPDATE CASCADE,\n CONSTRAINT `client_details_category_id_foreign` FOREIGN KEY (`category_id`) REFERENCES `client_categories` (`id`) ON DELETE SET NULL ON UPDATE CASCADE,\n CONSTRAINT `client_details_company_id_foreign` FOREIGN KEY (`company_id`) REFERENCES `companies` (`id`) ON DELETE CASCADE ON UPDATE CASCADE,\n CONSTRAINT `client_details_last_updated_by_foreign` FOREIGN KEY (`last_updated_by`) REFERENCES `users` (`id`) ON DELETE SET NULL ON UPDATE CASCADE,\n CONSTRAINT `client_details_sub_category_id_foreign` FOREIGN KEY (`sub_category_id`) REFERENCES `client_sub_categories` (`id`) ON DELETE SET NULL ON UPDATE CASCADE,\n CONSTRAINT `client_details_user_id_foreign` FOREIGN KEY (`user_id`) REFERENCES `users` (`id`) ON DELETE CASCADE ON UPDATE CASCADE\n) ENGINE=InnoDB AUTO_INCREMENT=3 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci\n--------------\n\n--------------\n/*!40101 SET character_set_client = @saved_cs_client */\n--------------\n\n--------------\nLOCK TABLES `cl","file":"kckglobal_portal.sql"}} {"type":"debug","data":{"description":"ient_details` WRITE\n--------------\n\n--------------\n/*!40000 ALTER TABLE `client_details` DISABLE KEYS */\n--------------\n\n--------------\nINSERT INTO `client_details` (`id`, `company_id`, `user_id`, `company_name`, `address`, `shipping_address`, `postal_code`, `state`, `city`, `office`, `website`, `note`, `linkedin`, `facebook`, `twitter`, `skype`, `gst_number`, `category_id`, `sub_category_id`, `added_by`, `last_updated_by`, `company_logo`, `created_at`, `updated_at`, `quickbooks_client_id`) VALUES (1,1,2,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'<p><br></p>',NULL,NULL,NULL,NULL,NULL,NULL,NULL,1,1,NULL,'2023-11-24 02:07:14','2023-11-24 02:07:14',NULL),(2,1,4,'Clinifix','Valley View','valley View','659-00100','Nairobi','Nairobi','0723137871','https://clinifix.co.ke','<p><br></p>',NULL,NULL,NULL,NULL,NULL,1,NULL,1,1,'a6e1ae22c606c2544b52547db1266bcd.png','2023-12-22 06:36:31','2023-12-22 06:36:31',NULL)\n--------------\n\n--------------\n/*!40000 ALTER TABLE `client_details` ENABLE KEYS */\n--------------\n\n-----------","file":"kckglobal_portal.sql"},"name":"restoring"} {"data":{"file":"kckglobal_portal.sql","description":"---\nUNLOCK TABLES\n--------------\n\n--------------\nDROP TABLE IF EXISTS `client_docs`\n--------------\n\n--------------\n/*!40101 SET @saved_cs_client = @@character_set_client */\n--------------\n\n--------------\n/*!40101 SET character_set_client = utf8 */\n--------------\n\n--------------\nCREATE TABLE `client_docs` (\n `id` int(10) unsigned NOT NULL AUTO_INCREMENT,\n `company_id` int(10) unsigned DEFAULT NULL,\n `user_id` int(10) unsigned NOT NULL,\n `name` varchar(200) NOT NULL,\n `filename` varchar(200) NOT NULL,\n `hashname` varchar(200) NOT NULL,\n `size` varchar(200) DEFAULT NULL,\n `added_by` int(10) unsigned DEFAULT NULL,\n `last_updated_by` int(10) unsigned DEFAULT NULL,\n `created_at` timestamp NULL DEFAULT NULL,\n `updated_at` timestamp NULL DEFAULT NULL,\n PRIMARY KEY (`id`),\n KEY `client_docs_company_id_foreign` (`company_id`),\n KEY `client_docs_user_id_foreign` (`user_id`),\n KEY `client_docs_added_by_foreign` (`added_by`),\n KEY `client_docs_last_updated_by_foreign` (`last_updated_by`),\n CONSTRAINT "},"name":"restoring","type":"debug"} {"type":"debug","name":"restoring","data":{"description":"`client_docs_added_by_foreign` FOREIGN KEY (`added_by`) REFERENCES `users` (`id`) ON DELETE SET NULL ON UPDATE CASCADE,\n CONSTRAINT `client_docs_company_id_foreign` FOREIGN KEY (`company_id`) REFERENCES `companies` (`id`) ON DELETE CASCADE ON UPDATE CASCADE,\n CONSTRAINT `client_docs_last_updated_by_foreign` FOREIGN KEY (`last_updated_by`) REFERENCES `users` (`id`) ON DELETE SET NULL ON UPDATE CASCADE,\n CONSTRAINT `client_docs_user_id_foreign` FOREIGN KEY (`user_id`) REFERENCES `users` (`id`) ON DELETE CASCADE ON UPDATE CASCADE\n) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci\n--------------\n\n--------------\n/*!40101 SET character_set_client = @saved_cs_client */\n--------------\n\n--------------\nLOCK TABLES `client_docs` WRITE\n--------------\n\n--------------\n/*!40000 ALTER TABLE `client_docs` DISABLE KEYS */\n--------------\n\n--------------\n/*!40000 ALTER TABLE `client_docs` ENABLE KEYS */\n--------------\n\n--------------\nUNLOCK TABLES\n--------------\n\n--------------\nDROP TABLE IF EXISTS `client_not","file":"kckglobal_portal.sql"}} {"type":"debug","data":{"description":"es`\n--------------\n\n--------------\n/*!40101 SET @saved_cs_client = @@character_set_client */\n--------------\n\n--------------\n/*!40101 SET character_set_client = utf8 */\n--------------\n\n--------------\nCREATE TABLE `client_notes` (\n `id` int(10) unsigned NOT NULL AUTO_INCREMENT,\n `company_id` int(10) unsigned DEFAULT NULL,\n `client_id` int(10) unsigned DEFAULT NULL,\n `title` varchar(191) NOT NULL,\n `type` tinyint(1) NOT NULL DEFAULT 0,\n `member_id` int(10) unsigned DEFAULT NULL,\n `is_client_show` tinyint(1) NOT NULL DEFAULT 0,\n `ask_password` tinyint(1) NOT NULL DEFAULT 0,\n `details` longtext NOT NULL,\n `added_by` int(10) unsigned DEFAULT NULL,\n `last_updated_by` int(10) unsigned DEFAULT NULL,\n `created_at` timestamp NULL DEFAULT NULL,\n `updated_at` timestamp NULL DEFAULT NULL,\n PRIMARY KEY (`id`),\n KEY `client_notes_company_id_foreign` (`company_id`),\n KEY `client_notes_client_id_foreign` (`client_id`),\n KEY `client_notes_member_id_foreign` (`member_id`),\n KEY `client_notes_added_by_foreig","file":"kckglobal_portal.sql"},"name":"restoring"} {"data":{"file":"kckglobal_portal.sql","description":"n` (`added_by`),\n KEY `client_notes_last_updated_by_foreign` (`last_updated_by`),\n CONSTRAINT `client_notes_added_by_foreign` FOREIGN KEY (`added_by`) REFERENCES `users` (`id`) ON DELETE SET NULL ON UPDATE CASCADE,\n CONSTRAINT `client_notes_client_id_foreign` FOREIGN KEY (`client_id`) REFERENCES `users` (`id`) ON DELETE CASCADE ON UPDATE CASCADE,\n CONSTRAINT `client_notes_company_id_foreign` FOREIGN KEY (`company_id`) REFERENCES `companies` (`id`) ON DELETE CASCADE ON UPDATE CASCADE,\n CONSTRAINT `client_notes_last_updated_by_foreign` FOREIGN KEY (`last_updated_by`) REFERENCES `users` (`id`) ON DELETE SET NULL ON UPDATE CASCADE,\n CONSTRAINT `client_notes_member_id_foreign` FOREIGN KEY (`member_id`) REFERENCES `users` (`id`) ON DELETE CASCADE ON UPDATE CASCADE\n) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci\n--------------\n\n--------------\n/*!40101 SET character_set_client = @saved_cs_client */\n--------------\n\n--------------\nLOCK TABLES `client_notes` WRITE\n--------------\n\n--------------\n"},"name":"restoring","type":"debug"} {"type":"debug","data":{"file":"kckglobal_portal.sql","description":"/*!40000 ALTER TABLE `client_notes` DISABLE KEYS */\n--------------\n\n--------------\n/*!40000 ALTER TABLE `client_notes` ENABLE KEYS */\n--------------\n\n--------------\nUNLOCK TABLES\n--------------\n\n--------------\nDROP TABLE IF EXISTS `client_sub_categories`\n--------------\n\n--------------\n/*!40101 SET @saved_cs_client = @@character_set_client */\n--------------\n\n--------------\n/*!40101 SET character_set_client = utf8 */\n--------------\n\n--------------\nCREATE TABLE `client_sub_categories` (\n `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,\n `company_id` int(10) unsigned DEFAULT NULL,\n `category_id` bigint(20) unsigned NOT NULL,\n `category_name` varchar(191) NOT NULL,\n `created_at` timestamp NULL DEFAULT NULL,\n `updated_at` timestamp NULL DEFAULT NULL,\n PRIMARY KEY (`id`),\n KEY `client_sub_categories_company_id_foreign` (`company_id`),\n KEY `client_sub_categories_category_id_foreign` (`category_id`),\n CONSTRAINT `client_sub_categories_category_id_foreign` FOREIGN KEY (`category_id`) REFERENCES `client_"},"name":"restoring"} {"name":"restoring","data":{"file":"kckglobal_portal.sql","description":"categories` (`id`) ON DELETE CASCADE ON UPDATE CASCADE,\n CONSTRAINT `client_sub_categories_company_id_foreign` FOREIGN KEY (`company_id`) REFERENCES `companies` (`id`) ON DELETE CASCADE ON UPDATE CASCADE\n) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci\n--------------\n\n--------------\n/*!40101 SET character_set_client = @saved_cs_client */\n--------------\n\n--------------\nLOCK TABLES `client_sub_categories` WRITE\n--------------\n\n--------------\n/*!40000 ALTER TABLE `client_sub_categories` DISABLE KEYS */\n--------------\n\n--------------\n/*!40000 ALTER TABLE `client_sub_categories` ENABLE KEYS */\n--------------\n\n--------------\nUNLOCK TABLES\n--------------\n\n--------------\nDROP TABLE IF EXISTS `client_user_notes`\n--------------\n\n--------------\n/*!40101 SET @saved_cs_client = @@character_set_client */\n--------------\n\n--------------\n/*!40101 SET character_set_client = utf8 */\n--------------\n\n--------------\nCREATE TABLE `client_user_notes` (\n `id` int(10) unsigned NOT NULL AUTO_INCREMENT,\n `compan"},"type":"debug"} {"name":"restoring","data":{"file":"kckglobal_portal.sql","description":"y_id` int(10) unsigned DEFAULT NULL,\n `user_id` int(10) unsigned NOT NULL,\n `client_note_id` int(10) unsigned NOT NULL,\n `created_at` timestamp NULL DEFAULT NULL,\n `updated_at` timestamp NULL DEFAULT NULL,\n PRIMARY KEY (`id`),\n KEY `client_user_notes_company_id_foreign` (`company_id`),\n KEY `client_user_notes_user_id_foreign` (`user_id`),\n KEY `client_user_notes_client_note_id_foreign` (`client_note_id`),\n CONSTRAINT `client_user_notes_client_note_id_foreign` FOREIGN KEY (`client_note_id`) REFERENCES `client_notes` (`id`) ON DELETE CASCADE ON UPDATE CASCADE,\n CONSTRAINT `client_user_notes_company_id_foreign` FOREIGN KEY (`company_id`) REFERENCES `companies` (`id`) ON DELETE CASCADE ON UPDATE CASCADE,\n CONSTRAINT `client_user_notes_user_id_foreign` FOREIGN KEY (`user_id`) REFERENCES `users` (`id`) ON DELETE CASCADE ON UPDATE CASCADE\n) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci\n--------------\n\n--------------\n/*!40101 SET character_set_client = @saved_cs_client */\n--------------\n"},"type":"debug"} {"type":"debug","data":{"file":"kckglobal_portal.sql","description":"\n--------------\nLOCK TABLES `client_user_notes` WRITE\n--------------\n\n--------------\n/*!40000 ALTER TABLE `client_user_notes` DISABLE KEYS */\n--------------\n\n--------------\n/*!40000 ALTER TABLE `client_user_notes` ENABLE KEYS */\n--------------\n\n--------------\nUNLOCK TABLES\n--------------\n\n--------------\nDROP TABLE IF EXISTS `companies`\n--------------\n\n--------------\n/*!40101 SET @saved_cs_client = @@character_set_client */\n--------------\n\n--------------\n/*!40101 SET character_set_client = utf8 */\n--------------\n\n--------------\nCREATE TABLE `companies` (\n `id` int(10) unsigned NOT NULL AUTO_INCREMENT,\n `company_name` varchar(191) NOT NULL,\n `app_name` varchar(191) DEFAULT NULL,\n `company_email` varchar(191) NOT NULL,\n `company_phone` varchar(191) NOT NULL,\n `logo` varchar(191) DEFAULT NULL,\n `light_logo` varchar(191) DEFAULT NULL,\n `favicon` varchar(191) DEFAULT NULL,\n `auth_theme` enum('dark','light') NOT NULL DEFAULT 'light',\n `auth_theme_text` enum('dark','light') NOT NULL DEFAULT 'dark',\n `s"},"name":"restoring"} {"name":"restoring","data":{"file":"kckglobal_portal.sql","description":"idebar_logo_style` enum('square','full') NOT NULL DEFAULT 'square',\n `login_background` varchar(191) DEFAULT NULL,\n `address` text NOT NULL,\n `website` varchar(191) DEFAULT NULL,\n `currency_id` int(10) unsigned DEFAULT NULL,\n `timezone` varchar(191) NOT NULL DEFAULT 'Asia/Kolkata',\n `date_format` varchar(20) NOT NULL DEFAULT 'd-m-Y',\n `date_picker_format` varchar(191) NOT NULL DEFAULT 'dd-mm-yyyy',\n `year_starts_from` varchar(191) NOT NULL DEFAULT '1',\n `moment_format` varchar(191) NOT NULL DEFAULT 'DD-MM-YYYY',\n `time_format` varchar(20) NOT NULL DEFAULT 'h:i a',\n `locale` varchar(191) NOT NULL DEFAULT 'en',\n `latitude` decimal(10,8) NOT NULL DEFAULT 26.91243360,\n `longitude` decimal(11,8) NOT NULL DEFAULT 75.78727090,\n `leaves_start_from` enum('joining_date','year_start') NOT NULL DEFAULT 'joining_date',\n `active_theme` enum('default','custom') NOT NULL DEFAULT 'default',\n `status` enum('active','inactive') NOT NULL DEFAULT 'active',\n `last_updated_by` int(10) unsigned DEFAULT NULL,\n `goog"},"type":"debug"} {"type":"debug","name":"restoring","data":{"file":"kckglobal_portal.sql","description":"le_map_key` varchar(191) DEFAULT NULL,\n `task_self` enum('yes','no') NOT NULL DEFAULT 'yes',\n `rounded_theme` tinyint(1) NOT NULL DEFAULT 1,\n `logo_background_color` varchar(191) NOT NULL DEFAULT '#ffffff',\n `header_color` varchar(191) NOT NULL DEFAULT '#1D82F5',\n `before_days` int(11) NOT NULL,\n `after_days` int(11) NOT NULL,\n `on_deadline` enum('yes','no') NOT NULL DEFAULT 'yes',\n `default_task_status` int(10) unsigned DEFAULT NULL,\n `dashboard_clock` tinyint(1) NOT NULL DEFAULT 1,\n `ticket_form_google_captcha` tinyint(1) NOT NULL DEFAULT 0,\n `lead_form_google_captcha` tinyint(1) NOT NULL DEFAULT 0,\n `taskboard_length` int(11) NOT NULL DEFAULT 10,\n `datatable_row_limit` int(11) NOT NULL DEFAULT 10,\n `allow_client_signup` tinyint(1) NOT NULL,\n `admin_client_signup_approval` tinyint(1) NOT NULL,\n `google_calendar_status` enum('active','inactive') NOT NULL DEFAULT 'inactive',\n `google_client_id` text DEFAULT NULL,\n `google_client_secret` text DEFAULT NULL,\n `google_calendar_verification_stat"}} {"name":"restoring","data":{"description":"us` enum('verified','non_verified') NOT NULL DEFAULT 'non_verified',\n `google_id` varchar(191) DEFAULT NULL,\n `name` varchar(191) DEFAULT NULL,\n `token` text DEFAULT NULL,\n `hash` varchar(191) DEFAULT NULL,\n `created_at` timestamp NULL DEFAULT NULL,\n `updated_at` timestamp NULL DEFAULT NULL,\n `last_login` datetime DEFAULT NULL,\n `rtl` tinyint(1) NOT NULL DEFAULT 0,\n `show_new_webhook_alert` tinyint(1) NOT NULL DEFAULT 0,\n `pm_type` varchar(191) DEFAULT NULL,\n `pm_last_four` varchar(191) DEFAULT NULL,\n PRIMARY KEY (`id`),\n KEY `companies_currency_id_foreign` (`currency_id`),\n KEY `companies_last_updated_by_foreign` (`last_updated_by`),\n KEY `companies_default_task_status_foreign` (`default_task_status`),\n CONSTRAINT `companies_currency_id_foreign` FOREIGN KEY (`currency_id`) REFERENCES `currencies` (`id`) ON DELETE CASCADE ON UPDATE CASCADE,\n CONSTRAINT `companies_default_task_status_foreign` FOREIGN KEY (`default_task_status`) REFERENCES `taskboard_columns` (`id`) ON UPDATE CASCADE,\n CONSTRA","file":"kckglobal_portal.sql"},"type":"debug"} {"type":"debug","name":"restoring","data":{"file":"kckglobal_portal.sql","description":"INT `companies_last_updated_by_foreign` FOREIGN KEY (`last_updated_by`) REFERENCES `users` (`id`) ON DELETE SET NULL ON UPDATE CASCADE\n) ENGINE=InnoDB AUTO_INCREMENT=2 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci\n--------------\n\n--------------\n/*!40101 SET character_set_client = @saved_cs_client */\n--------------\n\n--------------\nLOCK TABLES `companies` WRITE\n--------------\n\n--------------\n/*!40000 ALTER TABLE `companies` DISABLE KEYS */\n--------------\n\n--------------\nINSERT INTO `companies` (`id`, `company_name`, `app_name`, `company_email`, `company_phone`, `logo`, `light_logo`, `favicon`, `auth_theme`, `auth_theme_text`, `sidebar_logo_style`, `login_background`, `address`, `website`, `currency_id`, `timezone`, `date_format`, `date_picker_format`, `year_starts_from`, `moment_format`, `time_format`, `locale`, `latitude`, `longitude`, `leaves_start_from`, `active_theme`, `status`, `last_updated_by`, `google_map_key`, `task_self`, `rounded_theme`, `logo_background_color`, `header_color`, `before_days`, `a"}} {"type":"debug","data":{"file":"kckglobal_portal.sql","description":"fter_days`, `on_deadline`, `default_task_status`, `dashboard_clock`, `ticket_form_google_captcha`, `lead_form_google_captcha`, `taskboard_length`, `datatable_row_limit`, `allow_client_signup`, `admin_client_signup_approval`, `google_calendar_status`, `google_client_id`, `google_client_secret`, `google_calendar_verification_status`, `google_id`, `name`, `token`, `hash`, `created_at`, `updated_at`, `last_login`, `rtl`, `show_new_webhook_alert`, `pm_type`, `pm_last_four`) VALUES (1,'Knight Castle and King','Knight Castle and King','company@email.com','1234567891','176ecf7a6d411f30c99de3a5aab9cbd7.png','948c0ff469baf29eb294ee1a24d2fbd9.png','a84934c4eaeba0e2e97313cba44f9160.png','light','dark','square',NULL,'Your Company address here','https://worksuite.biz',1,'Asia/Kolkata','d-m-Y','dd-mm-yyyy','1','DD-MM-YYYY','h:i a','en',26.91243360,75.78727090,'joining_date','default','active',1,NULL,'yes',1,'#FFFFFF','#038B8D',0,0,'yes',1,1,0,0,10,10,0,0,'inactive',NULL,NULL,'non_verified',NULL,NULL,NULL,'541834fca855db655b"},"name":"restoring"} {"type":"debug","data":{"file":"kckglobal_portal.sql","description":"a5fcd0097b7a98','2023-11-24 01:42:53','2023-11-24 01:56:31',NULL,0,0,NULL,NULL)\n--------------\n\n--------------\n/*!40000 ALTER TABLE `companies` ENABLE KEYS */\n--------------\n\n--------------\nUNLOCK TABLES\n--------------\n\n--------------\nDROP TABLE IF EXISTS `company_addresses`\n--------------\n\n--------------\n/*!40101 SET @saved_cs_client = @@character_set_client */\n--------------\n\n--------------\n/*!40101 SET character_set_client = utf8 */\n--------------\n\n--------------\nCREATE TABLE `company_addresses` (\n `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,\n `company_id` int(10) unsigned DEFAULT NULL,\n `address` mediumtext NOT NULL,\n `is_default` tinyint(1) NOT NULL,\n `tax_number` varchar(191) DEFAULT NULL,\n `tax_name` varchar(191) DEFAULT NULL,\n `location` varchar(191) DEFAULT NULL,\n `created_at` timestamp NULL DEFAULT NULL,\n `updated_at` timestamp NULL DEFAULT NULL,\n `latitude` decimal(10,8) DEFAULT NULL,\n `longitude` decimal(11,8) DEFAULT NULL,\n PRIMARY KEY (`id`),\n KEY `company_addresses_company"},"name":"restoring"} {"name":"restoring","data":{"file":"kckglobal_portal.sql","description":"_id_foreign` (`company_id`),\n CONSTRAINT `company_addresses_company_id_foreign` FOREIGN KEY (`company_id`) REFERENCES `companies` (`id`) ON DELETE CASCADE ON UPDATE CASCADE\n) ENGINE=InnoDB AUTO_INCREMENT=2 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci\n--------------\n\n--------------\n/*!40101 SET character_set_client = @saved_cs_client */\n--------------\n\n--------------\nLOCK TABLES `company_addresses` WRITE\n--------------\n\n--------------\n/*!40000 ALTER TABLE `company_addresses` DISABLE KEYS */\n--------------\n\n--------------\nINSERT INTO `company_addresses` (`id`, `company_id`, `address`, `is_default`, `tax_number`, `tax_name`, `location`, `created_at`, `updated_at`, `latitude`, `longitude`) VALUES (1,1,'Your Company address here',1,NULL,NULL,'Worksuite','2023-11-24 01:42:53','2023-11-24 01:42:53',NULL,NULL)\n--------------\n\n--------------\n/*!40000 ALTER TABLE `company_addresses` ENABLE KEYS */\n--------------\n\n--------------\nUNLOCK TABLES\n--------------\n\n--------------\nDROP TABLE IF EXISTS `contract_discussio"},"type":"debug"} {"type":"debug","data":{"description":"ns`\n--------------\n\n--------------\n/*!40101 SET @saved_cs_client = @@character_set_client */\n--------------\n\n--------------\n/*!40101 SET character_set_client = utf8 */\n--------------\n\n--------------\nCREATE TABLE `contract_discussions` (\n `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,\n `company_id` int(10) unsigned DEFAULT NULL,\n `contract_id` bigint(20) unsigned NOT NULL,\n `from` int(10) unsigned NOT NULL,\n `message` longtext NOT NULL,\n `added_by` int(10) unsigned DEFAULT NULL,\n `last_updated_by` int(10) unsigned DEFAULT NULL,\n `created_at` timestamp NULL DEFAULT NULL,\n `updated_at` timestamp NULL DEFAULT NULL,\n PRIMARY KEY (`id`),\n KEY `contract_discussions_company_id_foreign` (`company_id`),\n KEY `contract_discussions_contract_id_foreign` (`contract_id`),\n KEY `contract_discussions_from_foreign` (`from`),\n KEY `contract_discussions_added_by_foreign` (`added_by`),\n KEY `contract_discussions_last_updated_by_foreign` (`last_updated_by`),\n CONSTRAINT `contract_discussions_added_by_foreign","file":"kckglobal_portal.sql"},"name":"restoring"} {"data":{"file":"kckglobal_portal.sql","description":"` FOREIGN KEY (`added_by`) REFERENCES `users` (`id`) ON DELETE SET NULL ON UPDATE CASCADE,\n CONSTRAINT `contract_discussions_company_id_foreign` FOREIGN KEY (`company_id`) REFERENCES `companies` (`id`) ON DELETE CASCADE ON UPDATE CASCADE,\n CONSTRAINT `contract_discussions_contract_id_foreign` FOREIGN KEY (`contract_id`) REFERENCES `contracts` (`id`) ON DELETE CASCADE ON UPDATE CASCADE,\n CONSTRAINT `contract_discussions_from_foreign` FOREIGN KEY (`from`) REFERENCES `users` (`id`) ON DELETE CASCADE ON UPDATE CASCADE,\n CONSTRAINT `contract_discussions_last_updated_by_foreign` FOREIGN KEY (`last_updated_by`) REFERENCES `users` (`id`) ON DELETE SET NULL ON UPDATE CASCADE\n) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci\n--------------\n\n--------------\n/*!40101 SET character_set_client = @saved_cs_client */\n--------------\n\n--------------\nLOCK TABLES `contract_discussions` WRITE\n--------------\n\n--------------\n/*!40000 ALTER TABLE `contract_discussions` DISABLE KEYS */\n--------------\n\n------------"},"name":"restoring","type":"debug"} {"type":"debug","data":{"description":"--\n/*!40000 ALTER TABLE `contract_discussions` ENABLE KEYS */\n--------------\n\n--------------\nUNLOCK TABLES\n--------------\n\n--------------\nDROP TABLE IF EXISTS `contract_files`\n--------------\n\n--------------\n/*!40101 SET @saved_cs_client = @@character_set_client */\n--------------\n\n--------------\n/*!40101 SET character_set_client = utf8 */\n--------------\n\n--------------\nCREATE TABLE `contract_files` (\n `id` int(10) unsigned NOT NULL AUTO_INCREMENT,\n `company_id` int(10) unsigned DEFAULT NULL,\n `user_id` int(10) unsigned NOT NULL,\n `contract_id` bigint(20) unsigned NOT NULL,\n `filename` varchar(191) NOT NULL,\n `hashname` varchar(191) NOT NULL,\n `size` varchar(191) NOT NULL,\n `google_url` varchar(191) NOT NULL,\n `dropbox_link` varchar(191) NOT NULL,\n `external_link_name` varchar(191) NOT NULL,\n `external_link` varchar(191) NOT NULL,\n `description` text DEFAULT NULL,\n `added_by` int(10) unsigned DEFAULT NULL,\n `last_updated_by` int(10) unsigned DEFAULT NULL,\n `created_at` timestamp NULL DEFAULT ","file":"kckglobal_portal.sql"},"name":"restoring"} {"name":"restoring","data":{"description":"NULL,\n `updated_at` timestamp NULL DEFAULT NULL,\n PRIMARY KEY (`id`),\n KEY `contract_files_company_id_foreign` (`company_id`),\n KEY `contract_files_user_id_foreign` (`user_id`),\n KEY `contract_files_contract_id_foreign` (`contract_id`),\n KEY `contract_files_added_by_foreign` (`added_by`),\n KEY `contract_files_last_updated_by_foreign` (`last_updated_by`),\n CONSTRAINT `contract_files_added_by_foreign` FOREIGN KEY (`added_by`) REFERENCES `users` (`id`) ON DELETE SET NULL ON UPDATE CASCADE,\n CONSTRAINT `contract_files_company_id_foreign` FOREIGN KEY (`company_id`) REFERENCES `companies` (`id`) ON DELETE CASCADE ON UPDATE CASCADE,\n CONSTRAINT `contract_files_contract_id_foreign` FOREIGN KEY (`contract_id`) REFERENCES `contracts` (`id`) ON DELETE CASCADE ON UPDATE CASCADE,\n CONSTRAINT `contract_files_last_updated_by_foreign` FOREIGN KEY (`last_updated_by`) REFERENCES `users` (`id`) ON DELETE SET NULL ON UPDATE CASCADE,\n CONSTRAINT `contract_files_user_id_foreign` FOREIGN KEY (`user_id`) REFERENCES `user","file":"kckglobal_portal.sql"},"type":"debug"} {"data":{"file":"kckglobal_portal.sql","description":"s` (`id`) ON DELETE CASCADE ON UPDATE CASCADE\n) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci\n--------------\n\n--------------\n/*!40101 SET character_set_client = @saved_cs_client */\n--------------\n\n--------------\nLOCK TABLES `contract_files` WRITE\n--------------\n\n--------------\n/*!40000 ALTER TABLE `contract_files` DISABLE KEYS */\n--------------\n\n--------------\n/*!40000 ALTER TABLE `contract_files` ENABLE KEYS */\n--------------\n\n--------------\nUNLOCK TABLES\n--------------\n\n--------------\nDROP TABLE IF EXISTS `contract_renews`\n--------------\n\n--------------\n/*!40101 SET @saved_cs_client = @@character_set_client */\n--------------\n\n--------------\n/*!40101 SET character_set_client = utf8 */\n--------------\n\n--------------\nCREATE TABLE `contract_renews` (\n `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,\n `company_id` int(10) unsigned DEFAULT NULL,\n `renewed_by` int(10) unsigned NOT NULL,\n `contract_id` bigint(20) unsigned NOT NULL,\n `start_date` date NOT NULL,\n `end_date` date NOT NULL"},"name":"restoring","type":"debug"} {"name":"restoring","data":{"file":"kckglobal_portal.sql","description":",\n `amount` decimal(12,2) NOT NULL,\n `added_by` int(10) unsigned DEFAULT NULL,\n `last_updated_by` int(10) unsigned DEFAULT NULL,\n `created_at` timestamp NULL DEFAULT NULL,\n `updated_at` timestamp NULL DEFAULT NULL,\n PRIMARY KEY (`id`),\n KEY `contract_renews_company_id_foreign` (`company_id`),\n KEY `contract_renews_renewed_by_foreign` (`renewed_by`),\n KEY `contract_renews_contract_id_foreign` (`contract_id`),\n KEY `contract_renews_added_by_foreign` (`added_by`),\n KEY `contract_renews_last_updated_by_foreign` (`last_updated_by`),\n CONSTRAINT `contract_renews_added_by_foreign` FOREIGN KEY (`added_by`) REFERENCES `users` (`id`) ON DELETE SET NULL ON UPDATE CASCADE,\n CONSTRAINT `contract_renews_company_id_foreign` FOREIGN KEY (`company_id`) REFERENCES `companies` (`id`) ON DELETE CASCADE ON UPDATE CASCADE,\n CONSTRAINT `contract_renews_contract_id_foreign` FOREIGN KEY (`contract_id`) REFERENCES `contracts` (`id`) ON DELETE CASCADE ON UPDATE CASCADE,\n CONSTRAINT `contract_renews_last_updated_by_foreig"},"type":"debug"} {"type":"debug","data":{"description":"n` FOREIGN KEY (`last_updated_by`) REFERENCES `users` (`id`) ON DELETE SET NULL ON UPDATE CASCADE,\n CONSTRAINT `contract_renews_renewed_by_foreign` FOREIGN KEY (`renewed_by`) REFERENCES `users` (`id`) ON DELETE CASCADE ON UPDATE CASCADE\n) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci\n--------------\n\n--------------\n/*!40101 SET character_set_client = @saved_cs_client */\n--------------\n\n--------------\nLOCK TABLES `contract_renews` WRITE\n--------------\n\n--------------\n/*!40000 ALTER TABLE `contract_renews` DISABLE KEYS */\n--------------\n\n--------------\n/*!40000 ALTER TABLE `contract_renews` ENABLE KEYS */\n--------------\n\n--------------\nUNLOCK TABLES\n--------------\n\n--------------\nDROP TABLE IF EXISTS `contract_signs`\n--------------\n\n--------------\n/*!40101 SET @saved_cs_client = @@character_set_client */\n--------------\n\n--------------\n/*!40101 SET character_set_client = utf8 */\n--------------\n\n--------------\nCREATE TABLE `contract_signs` (\n `id` bigint(20) unsigned NOT NULL AUTO_INCREMEN","file":"kckglobal_portal.sql"},"name":"restoring"} {"type":"debug","name":"restoring","data":{"description":"T,\n `company_id` int(10) unsigned DEFAULT NULL,\n `contract_id` bigint(20) unsigned NOT NULL,\n `full_name` varchar(191) NOT NULL,\n `email` varchar(191) NOT NULL,\n `signature` varchar(191) NOT NULL,\n `created_at` timestamp NULL DEFAULT NULL,\n `updated_at` timestamp NULL DEFAULT NULL,\n `place` varchar(191) DEFAULT NULL,\n `date` varchar(191) DEFAULT NULL,\n PRIMARY KEY (`id`),\n KEY `contract_signs_contract_id_foreign` (`contract_id`),\n KEY `contract_signs_company_id_foreign` (`company_id`),\n CONSTRAINT `contract_signs_company_id_foreign` FOREIGN KEY (`company_id`) REFERENCES `companies` (`id`) ON DELETE CASCADE ON UPDATE CASCADE,\n CONSTRAINT `contract_signs_contract_id_foreign` FOREIGN KEY (`contract_id`) REFERENCES `contracts` (`id`) ON DELETE CASCADE ON UPDATE CASCADE\n) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci\n--------------\n\n--------------\n/*!40101 SET character_set_client = @saved_cs_client */\n--------------\n\n--------------\nLOCK TABLES `contract_signs` WRITE\n--------------","file":"kckglobal_portal.sql"}} {"data":{"description":"\n\n--------------\n/*!40000 ALTER TABLE `contract_signs` DISABLE KEYS */\n--------------\n\n--------------\n/*!40000 ALTER TABLE `contract_signs` ENABLE KEYS */\n--------------\n\n--------------\nUNLOCK TABLES\n--------------\n\n--------------\nDROP TABLE IF EXISTS `contract_templates`\n--------------\n\n--------------\n/*!40101 SET @saved_cs_client = @@character_set_client */\n--------------\n\n--------------\n/*!40101 SET character_set_client = utf8 */\n--------------\n\n--------------\nCREATE TABLE `contract_templates` (\n `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,\n `contract_template_number` bigint(20) DEFAULT NULL,\n `company_id` int(10) unsigned DEFAULT NULL,\n `subject` varchar(191) NOT NULL,\n `description` longtext DEFAULT NULL,\n `amount` varchar(191) NOT NULL,\n `contract_type_id` bigint(20) unsigned NOT NULL,\n `currency_id` int(10) unsigned DEFAULT NULL,\n `contract_detail` longtext DEFAULT NULL,\n `added_by` int(11) NOT NULL DEFAULT 1,\n `created_at` timestamp NULL DEFAULT NULL,\n `updated_at` timestamp NULL ","file":"kckglobal_portal.sql"},"name":"restoring","type":"debug"} {"data":{"file":"kckglobal_portal.sql","description":"DEFAULT NULL,\n PRIMARY KEY (`id`),\n KEY `contract_templates_company_id_foreign` (`company_id`),\n KEY `contract_templates_contract_type_id_foreign` (`contract_type_id`),\n KEY `contract_templates_currency_id_foreign` (`currency_id`),\n CONSTRAINT `contract_templates_company_id_foreign` FOREIGN KEY (`company_id`) REFERENCES `companies` (`id`) ON DELETE CASCADE ON UPDATE CASCADE,\n CONSTRAINT `contract_templates_contract_type_id_foreign` FOREIGN KEY (`contract_type_id`) REFERENCES `contract_types` (`id`) ON DELETE CASCADE ON UPDATE CASCADE,\n CONSTRAINT `contract_templates_currency_id_foreign` FOREIGN KEY (`currency_id`) REFERENCES `currencies` (`id`) ON DELETE CASCADE ON UPDATE CASCADE\n) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci\n--------------\n\n--------------\n/*!40101 SET character_set_client = @saved_cs_client */\n--------------\n\n--------------\nLOCK TABLES `contract_templates` WRITE\n--------------\n\n--------------\n/*!40000 ALTER TABLE `contract_templates` DISABLE KEYS */\n--------------\n"},"name":"restoring","type":"debug"} {"name":"restoring","data":{"file":"kckglobal_portal.sql","description":"\n--------------\n/*!40000 ALTER TABLE `contract_templates` ENABLE KEYS */\n--------------\n\n--------------\nUNLOCK TABLES\n--------------\n\n--------------\nDROP TABLE IF EXISTS `contract_types`\n--------------\n\n--------------\n/*!40101 SET @saved_cs_client = @@character_set_client */\n--------------\n\n--------------\n/*!40101 SET character_set_client = utf8 */\n--------------\n\n--------------\nCREATE TABLE `contract_types` (\n `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,\n `company_id` int(10) unsigned DEFAULT NULL,\n `name` varchar(191) NOT NULL,\n `created_at` timestamp NULL DEFAULT NULL,\n `updated_at` timestamp NULL DEFAULT NULL,\n PRIMARY KEY (`id`),\n KEY `contract_types_company_id_foreign` (`company_id`),\n CONSTRAINT `contract_types_company_id_foreign` FOREIGN KEY (`company_id`) REFERENCES `companies` (`id`) ON DELETE CASCADE ON UPDATE CASCADE\n) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci\n--------------\n\n--------------\n/*!40101 SET character_set_client = @saved_cs_client */\n------------"},"type":"debug"} {"data":{"file":"kckglobal_portal.sql","description":"--\n\n--------------\nLOCK TABLES `contract_types` WRITE\n--------------\n\n--------------\n/*!40000 ALTER TABLE `contract_types` DISABLE KEYS */\n--------------\n\n--------------\n/*!40000 ALTER TABLE `contract_types` ENABLE KEYS */\n--------------\n\n--------------\nUNLOCK TABLES\n--------------\n\n--------------\nDROP TABLE IF EXISTS `contracts`\n--------------\n\n--------------\n/*!40101 SET @saved_cs_client = @@character_set_client */\n--------------\n\n--------------\n/*!40101 SET character_set_client = utf8 */\n--------------\n\n--------------\nCREATE TABLE `contracts` (\n `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,\n `contract_number` bigint(20) DEFAULT NULL,\n `company_id` int(10) unsigned DEFAULT NULL,\n `client_id` int(10) unsigned NOT NULL,\n `project_id` int(10) unsigned DEFAULT NULL,\n `subject` varchar(191) NOT NULL,\n `amount` varchar(191) NOT NULL,\n `original_amount` decimal(15,2) NOT NULL,\n `contract_type_id` bigint(20) unsigned DEFAULT NULL,\n `start_date` date NOT NULL,\n `original_start_date` date NOT NULL,"},"name":"restoring","type":"debug"} {"type":"debug","name":"restoring","data":{"description":"\n `end_date` date DEFAULT NULL,\n `original_end_date` date DEFAULT NULL,\n `description` longtext DEFAULT NULL,\n `contract_name` varchar(191) DEFAULT NULL,\n `alternate_address` varchar(191) DEFAULT NULL,\n `contract_note` text DEFAULT NULL,\n `cell` varchar(191) DEFAULT NULL,\n `office` varchar(191) DEFAULT NULL,\n `city` varchar(191) DEFAULT NULL,\n `state` varchar(191) DEFAULT NULL,\n `country` varchar(191) DEFAULT NULL,\n `postal_code` varchar(191) DEFAULT NULL,\n `contract_detail` longtext DEFAULT NULL,\n `added_by` int(10) unsigned DEFAULT NULL,\n `last_updated_by` int(10) unsigned DEFAULT NULL,\n `hash` text DEFAULT NULL,\n `currency_id` int(10) unsigned DEFAULT NULL,\n `event_id` text DEFAULT NULL,\n `created_at` timestamp NULL DEFAULT NULL,\n `updated_at` timestamp NULL DEFAULT NULL,\n `company_sign` varchar(191) DEFAULT NULL,\n `sign_date` date DEFAULT NULL,\n PRIMARY KEY (`id`),\n KEY `contracts_company_id_foreign` (`company_id`),\n KEY `contracts_client_id_foreign` (`client_id`),\n KEY `contract","file":"kckglobal_portal.sql"}} {"data":{"file":"kckglobal_portal.sql","description":"s_contract_type_id_foreign` (`contract_type_id`),\n KEY `contracts_added_by_foreign` (`added_by`),\n KEY `contracts_last_updated_by_foreign` (`last_updated_by`),\n KEY `contracts_currency_id_foreign` (`currency_id`),\n KEY `contracts_project_id_foreign` (`project_id`),\n CONSTRAINT `contracts_added_by_foreign` FOREIGN KEY (`added_by`) REFERENCES `users` (`id`) ON DELETE SET NULL ON UPDATE CASCADE,\n CONSTRAINT `contracts_client_id_foreign` FOREIGN KEY (`client_id`) REFERENCES `users` (`id`) ON DELETE CASCADE ON UPDATE CASCADE,\n CONSTRAINT `contracts_company_id_foreign` FOREIGN KEY (`company_id`) REFERENCES `companies` (`id`) ON DELETE CASCADE ON UPDATE CASCADE,\n CONSTRAINT `contracts_contract_type_id_foreign` FOREIGN KEY (`contract_type_id`) REFERENCES `contract_types` (`id`) ON DELETE SET NULL ON UPDATE CASCADE,\n CONSTRAINT `contracts_currency_id_foreign` FOREIGN KEY (`currency_id`) REFERENCES `currencies` (`id`) ON DELETE CASCADE ON UPDATE CASCADE,\n CONSTRAINT `contracts_last_updated_by_foreign` FOREIGN"},"name":"restoring","type":"debug"} {"type":"debug","name":"restoring","data":{"description":" KEY (`last_updated_by`) REFERENCES `users` (`id`) ON DELETE SET NULL ON UPDATE CASCADE,\n CONSTRAINT `contracts_project_id_foreign` FOREIGN KEY (`project_id`) REFERENCES `projects` (`id`) ON DELETE CASCADE ON UPDATE CASCADE\n) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci\n--------------\n\n--------------\n/*!40101 SET character_set_client = @saved_cs_client */\n--------------\n\n--------------\nLOCK TABLES `contracts` WRITE\n--------------\n\n--------------\n/*!40000 ALTER TABLE `contracts` DISABLE KEYS */\n--------------\n\n--------------\n/*!40000 ALTER TABLE `contracts` ENABLE KEYS */\n--------------\n\n--------------\nUNLOCK TABLES\n--------------\n\n--------------\nDROP TABLE IF EXISTS `conversation`\n--------------\n\n--------------\n/*!40101 SET @saved_cs_client = @@character_set_client */\n--------------\n\n--------------\n/*!40101 SET character_set_client = utf8 */\n--------------\n\n--------------\nCREATE TABLE `conversation` (\n `id` int(10) unsigned NOT NULL AUTO_INCREMENT,\n `company_id` int(10) unsigned DEF","file":"kckglobal_portal.sql"}} {"type":"debug","data":{"file":"kckglobal_portal.sql","description":"AULT NULL,\n `user_one` int(10) unsigned NOT NULL,\n `user_two` int(10) unsigned NOT NULL,\n `created_at` timestamp NULL DEFAULT NULL,\n `updated_at` timestamp NULL DEFAULT NULL,\n PRIMARY KEY (`id`),\n KEY `conversation_company_id_foreign` (`company_id`),\n KEY `conversation_user_one_foreign` (`user_one`),\n KEY `conversation_user_two_foreign` (`user_two`),\n CONSTRAINT `conversation_company_id_foreign` FOREIGN KEY (`company_id`) REFERENCES `companies` (`id`) ON DELETE CASCADE ON UPDATE CASCADE\n) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci\n--------------\n\n--------------\n/*!40101 SET character_set_client = @saved_cs_client */\n--------------\n\n--------------\nLOCK TABLES `conversation` WRITE\n--------------\n\n--------------\n/*!40000 ALTER TABLE `conversation` DISABLE KEYS */\n--------------\n\n--------------\n/*!40000 ALTER TABLE `conversation` ENABLE KEYS */\n--------------\n\n--------------\nUNLOCK TABLES\n--------------\n\n--------------\nDROP TABLE IF EXISTS `conversation_reply`\n--------------\n\n------"},"name":"restoring"} {"name":"restoring","data":{"description":"--------\n/*!40101 SET @saved_cs_client = @@character_set_client */\n--------------\n\n--------------\n/*!40101 SET character_set_client = utf8 */\n--------------\n\n--------------\nCREATE TABLE `conversation_reply` (\n `id` int(10) unsigned NOT NULL AUTO_INCREMENT,\n `company_id` int(10) unsigned DEFAULT NULL,\n `conversation_id` int(10) unsigned NOT NULL,\n `reply` text NOT NULL,\n `user_id` int(10) unsigned NOT NULL,\n `created_at` timestamp NULL DEFAULT NULL,\n `updated_at` timestamp NULL DEFAULT NULL,\n PRIMARY KEY (`id`),\n KEY `conversation_reply_company_id_foreign` (`company_id`),\n KEY `conversation_reply_conversation_id_foreign` (`conversation_id`),\n KEY `conversation_reply_user_id_foreign` (`user_id`),\n CONSTRAINT `conversation_reply_company_id_foreign` FOREIGN KEY (`company_id`) REFERENCES `companies` (`id`) ON DELETE CASCADE ON UPDATE CASCADE,\n CONSTRAINT `conversation_reply_conversation_id_foreign` FOREIGN KEY (`conversation_id`) REFERENCES `conversation` (`id`) ON DELETE CASCADE ON UPDATE CASCADE","file":"kckglobal_portal.sql"},"type":"debug"} {"type":"debug","name":"restoring","data":{"description":",\n CONSTRAINT `conversation_reply_user_id_foreign` FOREIGN KEY (`user_id`) REFERENCES `users` (`id`) ON DELETE CASCADE ON UPDATE CASCADE\n) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci\n--------------\n\n--------------\n/*!40101 SET character_set_client = @saved_cs_client */\n--------------\n\n--------------\nLOCK TABLES `conversation_reply` WRITE\n--------------\n\n--------------\n/*!40000 ALTER TABLE `conversation_reply` DISABLE KEYS */\n--------------\n\n--------------\n/*!40000 ALTER TABLE `conversation_reply` ENABLE KEYS */\n--------------\n\n--------------\nUNLOCK TABLES\n--------------\n\n--------------\nDROP TABLE IF EXISTS `countries`\n--------------\n\n--------------\n/*!40101 SET @saved_cs_client = @@character_set_client */\n--------------\n\n--------------\n/*!40101 SET character_set_client = utf8 */\n--------------\n\n--------------\nCREATE TABLE `countries` (\n `id` int(10) unsigned NOT NULL AUTO_INCREMENT,\n `iso` char(2) NOT NULL,\n `name` varchar(80) NOT NULL,\n `nicename` varchar(80) NOT NULL,\n `iso3` ","file":"kckglobal_portal.sql"}} {"name":"restoring","data":{"description":"char(3) DEFAULT NULL,\n `numcode` smallint(6) DEFAULT NULL,\n `phonecode` int(11) NOT NULL,\n PRIMARY KEY (`id`)\n) ENGINE=InnoDB AUTO_INCREMENT=254 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci\n--------------\n\n--------------\n/*!40101 SET character_set_client = @saved_cs_client */\n--------------\n\n--------------\nLOCK TABLES `countries` WRITE\n--------------\n\n--------------\n/*!40000 ALTER TABLE `countries` DISABLE KEYS */\n--------------\n\n--------------\nINSERT INTO `countries` (`id`, `iso`, `name`, `nicename`, `iso3`, `numcode`, `phonecode`) VALUES (1,'AF','AFGHANISTAN','Afghanistan','AFG',4,93),(2,'AL','ALBANIA','Albania','ALB',8,355),(3,'DZ','ALGERIA','Algeria','DZA',12,213),(4,'AS','AMERICAN SAMOA','American Samoa','ASM',16,1684),(5,'AD','ANDORRA','Andorra','AND',20,376),(6,'AO','ANGOLA','Angola','AGO',24,244),(7,'AI','ANGUILLA','Anguilla','AIA',660,1264),(8,'AQ','ANTARCTICA','Antarctica',NULL,NULL,0),(9,'AG','ANTIGUA AND BARBUDA','Antigua and Barbuda','ATG',28,1268),(10,'AR','ARGENTINA','Argentina','ARG',","file":"kckglobal_portal.sql"},"type":"debug"} {"data":{"file":"kckglobal_portal.sql","description":"32,54),(11,'AM','ARMENIA','Armenia','ARM',51,374),(12,'AW','ARUBA','Aruba','ABW',533,297),(13,'AU','AUSTRALIA','Australia','AUS',36,61),(14,'AT','AUSTRIA','Austria','AUT',40,43),(15,'AZ','AZERBAIJAN','Azerbaijan','AZE',31,994),(16,'BS','BAHAMAS','Bahamas','BHS',44,1242),(17,'BH','BAHRAIN','Bahrain','BHR',48,973),(18,'BD','BANGLADESH','Bangladesh','BGD',50,880),(19,'BB','BARBADOS','Barbados','BRB',52,1246),(20,'BY','BELARUS','Belarus','BLR',112,375),(21,'BE','BELGIUM','Belgium','BEL',56,32),(22,'BZ','BELIZE','Belize','BLZ',84,501),(23,'BJ','BENIN','Benin','BEN',204,229),(24,'BM','BERMUDA','Bermuda','BMU',60,1441),(25,'BT','BHUTAN','Bhutan','BTN',64,975),(26,'BO','BOLIVIA','Bolivia','BOL',68,591),(27,'BA','BOSNIA AND HERZEGOVINA','Bosnia and Herzegovina','BIH',70,387),(28,'BW','BOTSWANA','Botswana','BWA',72,267),(29,'BV','BOUVET ISLAND','Bouvet Island',NULL,NULL,0),(30,'BR','BRAZIL','Brazil','BRA',76,55),(31,'IO','BRITISH INDIAN OCEAN TERRITORY','British Indian Ocean Territory',NULL,NULL,246),(32,'BN','BRUNEI D"},"name":"restoring","type":"debug"} {"type":"debug","name":"restoring","data":{"file":"kckglobal_portal.sql","description":"ARUSSALAM','Brunei Darussalam','BRN',96,673),(33,'BG','BULGARIA','Bulgaria','BGR',100,359),(34,'BF','BURKINA FASO','Burkina Faso','BFA',854,226),(35,'BI','BURUNDI','Burundi','BDI',108,257),(36,'KH','CAMBODIA','Cambodia','KHM',116,855),(37,'CM','CAMEROON','Cameroon','CMR',120,237),(38,'CA','CANADA','Canada','CAN',124,1),(39,'CV','CAPE VERDE','Cape Verde','CPV',132,238),(40,'KY','CAYMAN ISLANDS','Cayman Islands','CYM',136,1345),(41,'CF','CENTRAL AFRICAN REPUBLIC','Central African Republic','CAF',140,236),(42,'TD','CHAD','Chad','TCD',148,235),(43,'CL','CHILE','Chile','CHL',152,56),(44,'CN','CHINA','China','CHN',156,86),(45,'CX','CHRISTMAS ISLAND','Christmas Island',NULL,NULL,61),(46,'CC','COCOS (KEELING) ISLANDS','Cocos (Keeling) Islands',NULL,NULL,672),(47,'CO','COLOMBIA','Colombia','COL',170,57),(48,'KM','COMOROS','Comoros','COM',174,269),(49,'CG','CONGO','Congo','COG',178,242),(50,'CD','CONGO, THE DEMOCRATIC REPUBLIC OF THE','Congo, the Democratic Republic of the','COD',180,242),(51,'CK','COOK ISLANDS','Cook "}} {"name":"restoring","data":{"file":"kckglobal_portal.sql","description":"Islands','COK',184,682),(52,'CR','COSTA RICA','Costa Rica','CRI',188,506),(53,'CI','COTE D\\'IVOIRE','Cote D\\'Ivoire','CIV',384,225),(54,'HR','CROATIA','Croatia','HRV',191,385),(55,'CU','CUBA','Cuba','CUB',192,53),(56,'CY','CYPRUS','Cyprus','CYP',196,357),(57,'CZ','CZECH REPUBLIC','Czech Republic','CZE',203,420),(58,'DK','DENMARK','Denmark','DNK',208,45),(59,'DJ','DJIBOUTI','Djibouti','DJI',262,253),(60,'DM','DOMINICA','Dominica','DMA',212,1767),(61,'DO','DOMINICAN REPUBLIC','Dominican Republic','DOM',214,1809),(62,'EC','ECUADOR','Ecuador','ECU',218,593),(63,'EG','EGYPT','Egypt','EGY',818,20),(64,'SV','EL SALVADOR','El Salvador','SLV',222,503),(65,'GQ','EQUATORIAL GUINEA','Equatorial Guinea','GNQ',226,240),(66,'ER','ERITREA','Eritrea','ERI',232,291),(67,'EE','ESTONIA','Estonia','EST',233,372),(68,'ET','ETHIOPIA','Ethiopia','ETH',231,251),(69,'FK','FALKLAND ISLANDS (MALVINAS)','Falkland Islands (Malvinas)','FLK',238,500),(70,'FO','FAROE ISLANDS','Faroe Islands','FRO',234,298),(71,'FJ','FIJI','Fiji','FJI',242,67"},"type":"debug"} {"data":{"file":"kckglobal_portal.sql","description":"9),(72,'FI','FINLAND','Finland','FIN',246,358),(73,'FR','FRANCE','France','FRA',250,33),(74,'GF','FRENCH GUIANA','French Guiana','GUF',254,594),(75,'PF','FRENCH POLYNESIA','French Polynesia','PYF',258,689),(76,'TF','FRENCH SOUTHERN TERRITORIES','French Southern Territories',NULL,NULL,0),(77,'GA','GABON','Gabon','GAB',266,241),(78,'GM','GAMBIA','Gambia','GMB',270,220),(79,'GE','GEORGIA','Georgia','GEO',268,995),(80,'DE','GERMANY','Germany','DEU',276,49),(81,'GH','GHANA','Ghana','GHA',288,233),(82,'GI','GIBRALTAR','Gibraltar','GIB',292,350),(83,'GR','GREECE','Greece','GRC',300,30),(84,'GL','GREENLAND','Greenland','GRL',304,299),(85,'GD','GRENADA','Grenada','GRD',308,1473),(86,'GP','GUADELOUPE','Guadeloupe','GLP',312,590),(87,'GU','GUAM','Guam','GUM',316,1671),(88,'GT','GUATEMALA','Guatemala','GTM',320,502),(89,'GN','GUINEA','Guinea','GIN',324,224),(90,'GW','GUINEA-BISSAU','Guinea-Bissau','GNB',624,245),(91,'GY','GUYANA','Guyana','GUY',328,592),(92,'HT','HAITI','Haiti','HTI',332,509),(93,'HM','HEARD ISLAND AND M"},"name":"restoring","type":"debug"} {"name":"restoring","data":{"truncated":1,"description":"…","file":"kckglobal_portal.sql"},"type":"debug"} {"name":"removed_temp_database_user","data":{"username":"kckglobal_10rxbxr","file":"kckglobal_portal.sql","description":"The system removed the temporary database user “kckglobal_10rxbxr”."},"type":"debug"} {"name":"restore_done","data":{"description":"The system successfully restored the database “kckglobal_portal” from the backup file “kckglobal_portal.sql”.","file":"kckglobal_portal.sql"},"type":"done"} {"name":"processed","data":{"file":"kckglobal_portal.sql"},"type":"info"} {"type":"close"}
Copyright ©2021 || Defacer Indonesia