
ALTER TABLE `admin_password_resets` DROP COLUMN `updated_at`;
ALTER TABLE `advertisements` CHANGE `crypto_id` `crypto_currency_id` INT(10) UNSIGNED NOT NULL;
ALTER TABLE `advertisements` CHANGE `fiat_id` `fiat_currency_id` INT(10) UNSIGNED NOT NULL;
ALTER TABLE `advertisements` ADD `fixed_price` DECIMAL(28,8) NOT NULL DEFAULT '0' AFTER `margin`;
ALTER TABLE `advertisements` ADD `completed_trade` INT(10) UNSIGNED NOT NULL DEFAULT '0' AFTER `status`, ADD `total_min` INT(10) UNSIGNED NOT NULL DEFAULT '0' AFTER `completed_trade`;
RENAME TABLE `limits` TO `ad_limits`;
ALTER TABLE `chats` CHANGE `trade_request_id` `trade_id` INT(10) UNSIGNED NOT NULL;

--
-- Table structure for table `commission_logs`
--

CREATE TABLE `commission_logs` (
  `id` bigint(20) UNSIGNED NOT NULL,
  `from_id` int(10) UNSIGNED DEFAULT NULL,
  `to_id` int(10) UNSIGNED DEFAULT NULL,
  `crypto_currency_id` int(10) UNSIGNED NOT NULL,
  `level` int(10) UNSIGNED DEFAULT NULL,
  `commission_amount` decimal(28,8) NOT NULL DEFAULT 0.00000000,
  `post_balance` decimal(28,8) DEFAULT 0.00000000,
  `trx_amo` decimal(28,8) NOT NULL DEFAULT 0.00000000 COMMENT 'Transacted Amount',
  `percent` decimal(11,2) NOT NULL DEFAULT 0.00,
  `title` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `type` varchar(40) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `trx` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Indexes for dumped tables
--

--
-- Indexes for table `commission_logs`
--
ALTER TABLE `commission_logs`
  ADD PRIMARY KEY (`id`);

--
-- AUTO_INCREMENT for dumped tables
--

--
-- AUTO_INCREMENT for table `commission_logs`
--
ALTER TABLE `commission_logs` MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT;


RENAME TABLE `cryptos` TO `crypto_currencies`;
ALTER TABLE `crypto_currencies` CHANGE `dc_fixed` `deposit_charge_fixed` DECIMAL(28,8) NOT NULL;
ALTER TABLE `crypto_currencies` CHANGE `dc_percent` `deposit_charge_percent` DECIMAL(5,2) NOT NULL;
ALTER TABLE `crypto_currencies` CHANGE `wc_fixed` `withdraw_charge_fixed` DECIMAL(28,8) NOT NULL;
ALTER TABLE `crypto_currencies` CHANGE `wc_percent` `withdraw_charge_percent` DECIMAL(5,2) NOT NULL;
ALTER TABLE `crypto_currencies` CHANGE `image` `image` VARCHAR(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL;

RENAME TABLE `wallet_cryptos` TO `crypto_wallets`;
ALTER TABLE `crypto_wallets` CHANGE `crypto_id` `crypto_currency_id` INT(10) UNSIGNED NOT NULL;

ALTER TABLE `deposits` CHANGE `crypto_id` `crypto_currency_id` INT(10) UNSIGNED NOT NULL;


--
-- Table structure for table `device_tokens`
--

CREATE TABLE `device_tokens` (
  `id` bigint(20) UNSIGNED NOT NULL,
  `token` text COLLATE utf8mb4_unicode_ci NOT NULL,
  `user_id` int(10) NOT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Indexes for dumped tables
--

--
-- Indexes for table `device_tokens`
--
ALTER TABLE `device_tokens`
  ADD PRIMARY KEY (`id`);

--
-- AUTO_INCREMENT for dumped tables
--

--
-- AUTO_INCREMENT for table `device_tokens`
--
ALTER TABLE `device_tokens`
  MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT;


RENAME TABLE `email_logs` TO `notification_logs`;
RENAME TABLE `email_sms_templates` TO `notification_templates`;
RENAME TABLE `fiats` TO `fiat_currencies`;

ALTER TABLE `fiat_currencies` CHANGE `code` `code` VARCHAR(40) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL;
ALTER TABLE `fiat_currencies` CHANGE `symbol` `symbol` VARCHAR(40) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL;
ALTER TABLE `fiat_gateways` CHANGE `slug` `slug` VARCHAR(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL;

ALTER TABLE `fiat_gateways` ADD `image` VARCHAR(255) NULL DEFAULT NULL AFTER `code`;

--
-- Table structure for table `forms`
--

CREATE TABLE `forms` (
  `id` bigint(20) UNSIGNED NOT NULL,
  `act` varchar(40) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `form_data` text COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `forms`
--

INSERT INTO `forms` (`id`, `act`, `form_data`, `created_at`, `updated_at`) VALUES
(7, 'kyc', '[]', '2022-03-17 02:56:14', '2022-09-17 10:32:36');

--
-- Indexes for dumped tables
--

--
-- Indexes for table `forms`
--
ALTER TABLE `forms`
  ADD PRIMARY KEY (`id`);

--
-- AUTO_INCREMENT for dumped tables
--

--
-- AUTO_INCREMENT for table `forms`
--
ALTER TABLE `forms` MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT;





TRUNCATE TABLE frontends;

--
-- Dumping data for table `frontends`
--

INSERT INTO `frontends` (`id`, `data_keys`, `data_values`, `created_at`, `updated_at`) VALUES
(1, 'seo.data', '{\"seo_image\":\"1\",\"keywords\":[\"admin\",\"blog\",\"aaaa\",\"ddd\",\"aaa\"],\"description\":\"Neque porro quisquam est qui dolorem ipsum quia dolor sit amet, consectetur, adipisci velit\",\"social_title\":\"Viserlab Limited\",\"social_description\":\"Neque porro quisquam est qui dolorem ipsum quia dolor sit amet, consectetur, adipisci velit ff\",\"image\":\"5fa397a629bee1604556710.jpg\"}', '2020-07-04 23:42:52', '2021-01-03 07:43:02'),
(41, 'cookie.data', '{\"short_desc\":\"We may use cookies or any other tracking technologies when you visit our website, including any other media form, mobile website, or mobile application related or connected to help customize the Site and improve your experience.\",\"description\":\"<div class=\\\"mb-5\\\" style=\\\"color: rgb(111, 111, 111); font-family: Nunito, sans-serif; margin-bottom: 3rem !important;\\\"><h3 class=\\\"mb-3\\\" style=\\\"font-weight: 600; line-height: 1.3; font-size: 24px; font-family: Exo, sans-serif; color: rgb(54, 54, 54);\\\">What information do we collect?<\\/h3><p class=\\\"font-18\\\" style=\\\"margin-right: 0px; margin-left: 0px; font-size: 18px !important;\\\">We gather data from you when you register on our site, submit a request, buy any services, react to an overview, or round out a structure. At the point when requesting any assistance or enrolling on our site, as suitable, you might be approached to enter your: name, email address, or telephone number. You may, nonetheless, visit our site anonymously.<\\/p><\\/div><div class=\\\"mb-5\\\" style=\\\"color: rgb(111, 111, 111); font-family: Nunito, sans-serif; margin-bottom: 3rem !important;\\\"><h3 class=\\\"mb-3\\\" style=\\\"font-weight: 600; line-height: 1.3; font-size: 24px; font-family: Exo, sans-serif; color: rgb(54, 54, 54);\\\">How do we protect your information?<\\/h3><p class=\\\"font-18\\\" style=\\\"margin-right: 0px; margin-left: 0px; font-size: 18px !important;\\\">All provided delicate\\/credit data is sent through Stripe.<br>After an exchange, your private data (credit cards, social security numbers, financials, and so on) won\'t be put away on our workers.<\\/p><\\/div><div class=\\\"mb-5\\\" style=\\\"color: rgb(111, 111, 111); font-family: Nunito, sans-serif; margin-bottom: 3rem !important;\\\"><h3 class=\\\"mb-3\\\" style=\\\"font-weight: 600; line-height: 1.3; font-size: 24px; font-family: Exo, sans-serif; color: rgb(54, 54, 54);\\\">Do we disclose any information to outside parties?<\\/h3><p class=\\\"font-18\\\" style=\\\"margin-right: 0px; margin-left: 0px; font-size: 18px !important;\\\">We don\'t sell, exchange, or in any case move to outside gatherings by and by recognizable data. This does exclude confided in outsiders who help us in working our site, leading our business, or adjusting you, since those gatherings consent to keep this data private. We may likewise deliver your data when we accept discharge is suitable to follow the law, implement our site strategies, or ensure our own or others\' rights, property, or wellbeing.<\\/p><\\/div><div class=\\\"mb-5\\\" style=\\\"color: rgb(111, 111, 111); font-family: Nunito, sans-serif; margin-bottom: 3rem !important;\\\"><h3 class=\\\"mb-3\\\" style=\\\"font-weight: 600; line-height: 1.3; font-size: 24px; font-family: Exo, sans-serif; color: rgb(54, 54, 54);\\\">Children\'s Online Privacy Protection Act Compliance<\\/h3><p class=\\\"font-18\\\" style=\\\"margin-right: 0px; margin-left: 0px; font-size: 18px !important;\\\">We are consistent with the prerequisites of COPPA (Children\'s Online Privacy Protection Act), we don\'t gather any data from anybody under 13 years old. Our site, items, and administrations are completely coordinated to individuals who are in any event 13 years of age or more established.<\\/p><\\/div><div class=\\\"mb-5\\\" style=\\\"color: rgb(111, 111, 111); font-family: Nunito, sans-serif; margin-bottom: 3rem !important;\\\"><h3 class=\\\"mb-3\\\" style=\\\"font-weight: 600; line-height: 1.3; font-size: 24px; font-family: Exo, sans-serif; color: rgb(54, 54, 54);\\\">Changes to our Privacy Policy<\\/h3><p class=\\\"font-18\\\" style=\\\"margin-right: 0px; margin-left: 0px; font-size: 18px !important;\\\">If we decide to change our privacy policy, we will post those changes on this page.<\\/p><\\/div><div class=\\\"mb-5\\\" style=\\\"color: rgb(111, 111, 111); font-family: Nunito, sans-serif; margin-bottom: 3rem !important;\\\"><h3 class=\\\"mb-3\\\" style=\\\"font-weight: 600; line-height: 1.3; font-size: 24px; font-family: Exo, sans-serif; color: rgb(54, 54, 54);\\\">How long we retain your information?<\\/h3><p class=\\\"font-18\\\" style=\\\"margin-right: 0px; margin-left: 0px; font-size: 18px !important;\\\">At the point when you register for our site, we cycle and keep your information we have about you however long you don\'t erase the record or withdraw yourself (subject to laws and guidelines).<\\/p><\\/div><div class=\\\"mb-5\\\" style=\\\"color: rgb(111, 111, 111); font-family: Nunito, sans-serif; margin-bottom: 3rem !important;\\\"><h3 class=\\\"mb-3\\\" style=\\\"font-weight: 600; line-height: 1.3; font-size: 24px; font-family: Exo, sans-serif; color: rgb(54, 54, 54);\\\">What we don\\u2019t do with your data<\\/h3><p class=\\\"font-18\\\" style=\\\"margin-right: 0px; margin-left: 0px; font-size: 18px !important;\\\">We don\'t and will never share, unveil, sell, or in any case give your information to different organizations for the promoting of their items or administrations.<\\/p><\\/div>\",\"status\":1}', '2020-07-04 23:42:52', '2022-03-30 11:23:12'),
(42, 'policy_pages.element', '{\"title\":\"Privacy Policy\",\"details\":\"<div class=\\\"mb-5\\\" style=\\\"color:rgb(111,111,111);font-family:Nunito, sans-serif;margin-bottom:3rem;\\\"><h3 class=\\\"mb-3\\\" style=\\\"font-weight:600;line-height:1.3;font-size:24px;font-family:Exo, sans-serif;color:rgb(54,54,54);\\\">What information do we collect?<\\/h3><p class=\\\"font-18\\\" style=\\\"margin-right:0px;margin-left:0px;font-size:18px;\\\">We gather data from you when you register on our site, submit a request, buy any services, react to an overview, or round out a structure. At the point when requesting any assistance or enrolling on our site, as suitable, you might be approached to enter your: name, email address, or telephone number. You may, nonetheless, visit our site anonymously.<\\/p><\\/div><div class=\\\"mb-5\\\" style=\\\"color:rgb(111,111,111);font-family:Nunito, sans-serif;margin-bottom:3rem;\\\"><h3 class=\\\"mb-3\\\" style=\\\"font-weight:600;line-height:1.3;font-size:24px;font-family:Exo, sans-serif;color:rgb(54,54,54);\\\">How do we protect your information?<\\/h3><p class=\\\"font-18\\\" style=\\\"margin-right:0px;margin-left:0px;font-size:18px;\\\">All provided delicate\\/credit data is sent through Stripe.<br \\/>After an exchange, your private data (credit cards, social security numbers, financials, and so on) won\'t be put away on our workers.<\\/p><\\/div><div class=\\\"mb-5\\\" style=\\\"color:rgb(111,111,111);font-family:Nunito, sans-serif;margin-bottom:3rem;\\\"><h3 class=\\\"mb-3\\\" style=\\\"font-weight:600;line-height:1.3;font-size:24px;font-family:Exo, sans-serif;color:rgb(54,54,54);\\\">Do we disclose any information to outside parties?<\\/h3><p class=\\\"font-18\\\" style=\\\"margin-right:0px;margin-left:0px;font-size:18px;\\\">We don\'t sell, exchange, or in any case move to outside gatherings by and by recognizable data. This does exclude confided in outsiders who help us in working our site, leading our business, or adjusting you, since those gatherings consent to keep this data private. We may likewise deliver your data when we accept discharge is suitable to follow the law, implement our site strategies, or ensure our own or others\' rights, property, or wellbeing.<\\/p><\\/div><div class=\\\"mb-5\\\" style=\\\"color:rgb(111,111,111);font-family:Nunito, sans-serif;margin-bottom:3rem;\\\"><h3 class=\\\"mb-3\\\" style=\\\"font-weight:600;line-height:1.3;font-size:24px;font-family:Exo, sans-serif;color:rgb(54,54,54);\\\">Children\'s Online Privacy Protection Act Compliance<\\/h3><p class=\\\"font-18\\\" style=\\\"margin-right:0px;margin-left:0px;font-size:18px;\\\">We are consistent with the prerequisites of COPPA (Children\'s Online Privacy Protection Act), we don\'t gather any data from anybody under 13 years old. Our site, items, and administrations are completely coordinated to individuals who are in any event 13 years of age or more established.<\\/p><\\/div><div class=\\\"mb-5\\\" style=\\\"color:rgb(111,111,111);font-family:Nunito, sans-serif;margin-bottom:3rem;\\\"><h3 class=\\\"mb-3\\\" style=\\\"font-weight:600;line-height:1.3;font-size:24px;font-family:Exo, sans-serif;color:rgb(54,54,54);\\\">Changes to our Privacy Policy<\\/h3><p class=\\\"font-18\\\" style=\\\"margin-right:0px;margin-left:0px;font-size:18px;\\\">If we decide to change our privacy policy, we will post those changes on this page.<\\/p><\\/div><div class=\\\"mb-5\\\" style=\\\"color:rgb(111,111,111);font-family:Nunito, sans-serif;margin-bottom:3rem;\\\"><h3 class=\\\"mb-3\\\" style=\\\"font-weight:600;line-height:1.3;font-size:24px;font-family:Exo, sans-serif;color:rgb(54,54,54);\\\">How long we retain your information?<\\/h3><p class=\\\"font-18\\\" style=\\\"margin-right:0px;margin-left:0px;font-size:18px;\\\">At the point when you register for our site, we cycle and keep your information we have about you however long you don\'t erase the record or withdraw yourself (subject to laws and guidelines).<\\/p><\\/div><div class=\\\"mb-5\\\" style=\\\"color:rgb(111,111,111);font-family:Nunito, sans-serif;margin-bottom:3rem;\\\"><h3 class=\\\"mb-3\\\" style=\\\"font-weight:600;line-height:1.3;font-size:24px;font-family:Exo, sans-serif;color:rgb(54,54,54);\\\">What we don\\u2019t do with your data<\\/h3><p class=\\\"font-18\\\" style=\\\"margin-right:0px;margin-left:0px;font-size:18px;\\\">We don\'t and will never share, unveil, sell, or in any case give your information to different organizations for the promoting of their items or administrations.<\\/p><\\/div>\"}', '2021-06-09 08:50:42', '2021-06-09 08:50:42'),
(43, 'policy_pages.element', '{\"title\":\"Terms of Service\",\"details\":\"<div class=\\\"mb-5\\\" style=\\\"color:rgb(111,111,111);font-family:Nunito, sans-serif;margin-bottom:3rem;\\\"><p class=\\\"font-18\\\" style=\\\"margin-right:0px;margin-left:0px;font-size:18px;\\\">We claim all authority to dismiss, end, or handicap any help with or without cause per administrator discretion. This is a Complete independent facilitating, on the off chance that you misuse our ticket or Livechat or emotionally supportive network by submitting solicitations or protests we will impair your record. The solitary time you should reach us about the seaward facilitating is if there is an issue with the worker. We have not many substance limitations and everything is as per laws and guidelines. Try not to join on the off chance that you intend to do anything contrary to the guidelines, we do check these things and we will know, don\'t burn through our own and your time by joining on the off chance that you figure you will have the option to sneak by us and break the terms.<\\/p><\\/div><div class=\\\"mb-5\\\" style=\\\"color:rgb(111,111,111);font-family:Nunito, sans-serif;margin-bottom:3rem;\\\"><ul class=\\\"font-18\\\" style=\\\"padding-left:15px;list-style-type:disc;font-size:18px;\\\"><li style=\\\"margin-top:0px;margin-right:0px;margin-left:0px;\\\">Configuration requests - If you have a fully managed dedicated server with us then we offer custom PHP\\/MySQL configurations, firewalls for dedicated IPs, DNS, and httpd configurations.<\\/li><li style=\\\"margin-top:0px;margin-right:0px;margin-left:0px;\\\">Software requests - Cpanel Extension Installation will be granted as long as it does not interfere with the security, stability, and performance of other users on the server.<\\/li><li style=\\\"margin-top:0px;margin-right:0px;margin-left:0px;\\\">Emergency Support - We do not provide emergency support \\/ Phone Support \\/ LiveChat Support. Support may take some hours sometimes.<\\/li><li style=\\\"margin-top:0px;margin-right:0px;margin-left:0px;\\\">Webmaster help - We do not offer any support for webmaster related issues and difficulty including coding, &amp; installs, Error solving. if there is an issue where a library or configuration of the server then we can help you if it\'s possible from our end.<\\/li><li style=\\\"margin-top:0px;margin-right:0px;margin-left:0px;\\\">Backups - We keep backups but we are not responsible for data loss, you are fully responsible for all backups.<\\/li><li style=\\\"margin-top:0px;margin-right:0px;margin-left:0px;\\\">We Don\'t support any child porn or such material.<\\/li><li style=\\\"margin-top:0px;margin-right:0px;margin-left:0px;\\\">No spam-related sites or material, such as email lists, mass mail programs, and scripts, etc.<\\/li><li style=\\\"margin-top:0px;margin-right:0px;margin-left:0px;\\\">No harassing material that may cause people to retaliate against you.<\\/li><li style=\\\"margin-top:0px;margin-right:0px;margin-left:0px;\\\">No phishing pages.<\\/li><li style=\\\"margin-top:0px;margin-right:0px;margin-left:0px;\\\">You may not run any exploitation script from the server. reason can be terminated immediately.<\\/li><li style=\\\"margin-top:0px;margin-right:0px;margin-left:0px;\\\">If Anyone attempting to hack or exploit the server by using your script or hosting, we will terminate your account to keep safe other users.<\\/li><li style=\\\"margin-top:0px;margin-right:0px;margin-left:0px;\\\">Malicious Botnets are strictly forbidden.<\\/li><li style=\\\"margin-top:0px;margin-right:0px;margin-left:0px;\\\">Spam, mass mailing, or email marketing in any way are strictly forbidden here.<\\/li><li style=\\\"margin-top:0px;margin-right:0px;margin-left:0px;\\\">Malicious hacking materials, trojans, viruses, &amp; malicious bots running or for download are forbidden.<\\/li><li style=\\\"margin-top:0px;margin-right:0px;margin-left:0px;\\\">Resource and cronjob abuse is forbidden and will result in suspension or termination.<\\/li><li style=\\\"margin-top:0px;margin-right:0px;margin-left:0px;\\\">Php\\/CGI proxies are strictly forbidden.<\\/li><li style=\\\"margin-top:0px;margin-right:0px;margin-left:0px;\\\">CGI-IRC is strictly forbidden.<\\/li><li style=\\\"margin-top:0px;margin-right:0px;margin-left:0px;\\\">No fake or disposal mailers, mass mailing, mail bombers, SMS bombers, etc.<\\/li><li style=\\\"margin-top:0px;margin-right:0px;margin-left:0px;\\\">NO CREDIT OR REFUND will be granted for interruptions of service, due to User Agreement violations.<\\/li><\\/ul><\\/div><div class=\\\"mb-5\\\" style=\\\"color:rgb(111,111,111);font-family:Nunito, sans-serif;margin-bottom:3rem;\\\"><h3 class=\\\"mb-3\\\" style=\\\"font-weight:600;line-height:1.3;font-size:24px;font-family:Exo, sans-serif;color:rgb(54,54,54);\\\">Terms &amp; Conditions for Users<\\/h3><p class=\\\"font-18\\\" style=\\\"margin-right:0px;margin-left:0px;font-size:18px;\\\">Before getting to this site, you are consenting to be limited by these site Terms and Conditions of Use, every single appropriate law, and guidelines, and concur that you are answerable for consistency with any material neighborhood laws. If you disagree with any of these terms, you are restricted from utilizing or getting to this site.<\\/p><\\/div><div class=\\\"mb-5\\\" style=\\\"color:rgb(111,111,111);font-family:Nunito, sans-serif;margin-bottom:3rem;\\\"><h3 class=\\\"mb-3\\\" style=\\\"font-weight:600;line-height:1.3;font-size:24px;font-family:Exo, sans-serif;color:rgb(54,54,54);\\\">Support<\\/h3><p class=\\\"font-18\\\" style=\\\"margin-right:0px;margin-left:0px;font-size:18px;\\\">Whenever you have downloaded our item, you may get in touch with us for help through email and we will give a valiant effort to determine your issue. We will attempt to answer using the Email for more modest bug fixes, after which we will refresh the center bundle. Content help is offered to confirmed clients by Tickets as it were. Backing demands made by email and Livechat.<\\/p><p class=\\\"my-3 font-18 font-weight-bold\\\" style=\\\"margin-right:0px;margin-left:0px;font-size:18px;\\\">On the off chance that your help requires extra adjustment of the System, at that point, you have two alternatives:<\\/p><ul class=\\\"font-18\\\" style=\\\"padding-left:15px;list-style-type:disc;font-size:18px;\\\"><li style=\\\"margin-top:0px;margin-right:0px;margin-left:0px;\\\">Hang tight for additional update discharge.<\\/li><li style=\\\"margin-top:0px;margin-right:0px;margin-left:0px;\\\">Or on the other hand, enlist a specialist (We offer customization for extra charges).<\\/li><\\/ul><\\/div><div class=\\\"mb-5\\\" style=\\\"color:rgb(111,111,111);font-family:Nunito, sans-serif;margin-bottom:3rem;\\\"><h3 class=\\\"mb-3\\\" style=\\\"font-weight:600;line-height:1.3;font-size:24px;font-family:Exo, sans-serif;color:rgb(54,54,54);\\\">Ownership<\\/h3><p class=\\\"font-18\\\" style=\\\"margin-right:0px;margin-left:0px;font-size:18px;\\\">You may not guarantee scholarly or selective possession of any of our items, altered or unmodified. All items are property, we created them. Our items are given \\\"with no guarantees\\\" without guarantee of any sort, either communicated or suggested. On no occasion will our juridical individual be subject to any harms including, however not restricted to, immediate, roundabout, extraordinary, accidental, or significant harms or different misfortunes emerging out of the utilization of or powerlessness to utilize our items.<\\/p><\\/div><div class=\\\"mb-5\\\" style=\\\"color:rgb(111,111,111);font-family:Nunito, sans-serif;margin-bottom:3rem;\\\"><h3 class=\\\"mb-3\\\" style=\\\"font-weight:600;line-height:1.3;font-size:24px;font-family:Exo, sans-serif;color:rgb(54,54,54);\\\">Warranty<\\/h3><p class=\\\"font-18\\\" style=\\\"margin-right:0px;margin-left:0px;font-size:18px;\\\">We don\'t offer any guarantee or assurance of these Services in any way. When our Services have been modified we can\'t ensure they will work with all outsider plugins, modules, or internet browsers. Program similarity ought to be tried against the show formats on the demo worker. If you don\'t mind guarantee that the programs you use will work with the component, as we can not ensure that our systems will work with all program mixes.<\\/p><\\/div><div class=\\\"mb-5\\\" style=\\\"color:rgb(111,111,111);font-family:Nunito, sans-serif;margin-bottom:3rem;\\\"><h3 class=\\\"mb-3\\\" style=\\\"font-weight:600;line-height:1.3;font-size:24px;font-family:Exo, sans-serif;color:rgb(54,54,54);\\\">Unauthorized\\/Illegal Usage<\\/h3><p class=\\\"font-18\\\" style=\\\"margin-right:0px;margin-left:0px;font-size:18px;\\\">You may not utilize our things for any illicit or unapproved reason or may you, in the utilization of the stage, disregard any laws in your locale (counting yet not restricted to copyright laws) just as the laws of your nation and International law. Specifically, it is disallowed to utilize the things on our foundation for pages that advance: brutality, illegal intimidation, hard sexual entertainment, bigotry, obscenity content or warez programming joins.<br \\/><br \\/>You can\'t imitate, copy, duplicate, sell, exchange or adventure any of our segment, utilization of the offered on our things, or admittance to the administration without the express composed consent by us or item proprietor.<br \\/><br \\/>Our Members are liable for all substance posted on the discussion and demo and movement that happens under your record.<br \\/><br \\/>We hold the chance of hindering your participation account quickly if we will think about a particularly not allowed conduct.<br \\/><br \\/>If you make a record on our site, you are liable for keeping up the security of your record, and you are completely answerable for all exercises that happen under the record and some other activities taken regarding the record. You should quickly inform us, of any unapproved employments of your record or some other penetrates of security.<\\/p><\\/div><div class=\\\"mb-5\\\" style=\\\"color:rgb(111,111,111);font-family:Nunito, sans-serif;margin-bottom:3rem;\\\"><h3 class=\\\"mb-3\\\" style=\\\"font-weight:600;line-height:1.3;font-size:24px;font-family:Exo, sans-serif;color:rgb(54,54,54);\\\">Fiverr, Seoclerks Sellers Or Affiliates<\\/h3><p class=\\\"font-18\\\" style=\\\"margin-right:0px;margin-left:0px;font-size:18px;\\\">We do NOT ensure full SEO campaign conveyance within 24 hours. We make no assurance for conveyance time by any means. We give our best assessment to orders during the putting in of requests, anyway, these are gauges. We won\'t be considered liable for loss of assets, negative surveys or you being prohibited for late conveyance. If you are selling on a site that requires time touchy outcomes, utilize Our SEO Services at your own risk.<\\/p><\\/div><div class=\\\"mb-5\\\" style=\\\"color:rgb(111,111,111);font-family:Nunito, sans-serif;margin-bottom:3rem;\\\"><h3 class=\\\"mb-3\\\" style=\\\"font-weight:600;line-height:1.3;font-size:24px;font-family:Exo, sans-serif;color:rgb(54,54,54);\\\">Payment\\/Refund Policy<\\/h3><p class=\\\"font-18\\\" style=\\\"margin-right:0px;margin-left:0px;font-size:18px;\\\">No refund or cash back will be made. After a deposit has been finished, it is extremely unlikely to invert it. You should utilize your equilibrium on requests our administrations, Hosting, SEO campaign. You concur that once you complete a deposit, you won\'t document a debate or a chargeback against us in any way, shape, or form.<br \\/><br \\/>If you document a debate or chargeback against us after a deposit, we claim all authority to end every single future request, prohibit you from our site. False action, for example, utilizing unapproved or taken charge cards will prompt the end of your record. There are no special cases.<\\/p><\\/div><div class=\\\"mb-5\\\" style=\\\"color:rgb(111,111,111);font-family:Nunito, sans-serif;margin-bottom:3rem;\\\"><h3 class=\\\"mb-3\\\" style=\\\"font-weight:600;line-height:1.3;font-size:24px;font-family:Exo, sans-serif;color:rgb(54,54,54);\\\">Free Balance \\/ Coupon Policy<\\/h3><p class=\\\"font-18\\\" style=\\\"margin-right:0px;margin-left:0px;font-size:18px;\\\">We offer numerous approaches to get FREE Balance, Coupons and Deposit offers yet we generally reserve the privilege to audit it and deduct it from your record offset with any explanation we may it is a sort of misuse. If we choose to deduct a few or all of free Balance from your record balance, and your record balance becomes negative, at that point the record will naturally be suspended. If your record is suspended because of a negative Balance you can request to make a custom payment to settle your equilibrium to actuate your record.<\\/p><\\/div>\"}', '2021-06-09 08:51:18', '2021-06-09 08:51:18'),
(44, 'maintenance.data', '{\"description\":\"<div class=\\\"mb-5\\\" style=\\\"color: rgb(111, 111, 111); font-family: Nunito, sans-serif; margin-bottom: 3rem !important;\\\"><h3 class=\\\"mb-3\\\" style=\\\"text-align: center; font-weight: 600; line-height: 1.3; font-size: 24px; font-family: Exo, sans-serif; color: rgb(54, 54, 54);\\\">What information do we collect?<\\/h3><p class=\\\"font-18\\\" style=\\\"text-align: center; margin-right: 0px; margin-left: 0px; font-size: 18px !important;\\\">We gather data from you when you register on our site, submit a request, buy any services, react to an overview, or round out a structure. At the point when requesting any assistance or enrolling on our site, as suitable, you might be approached to enter your: name, email address, or telephone number. You may, nonetheless, visit our site anonymously.<\\/p><\\/div>\"}', '2020-07-04 23:42:52', '2022-05-11 03:57:17'),
(45, 'footer.content', '{\"has_image\":\"1\",\"footer_text\":\"Lorem ipsum dolor sit amet consectet adipisicing elit. Dignissimos, dolore. Sit amet consectet adipisicing elit\",\"image\":\"62b1a078224bf1655808120.jpg\"}', '2022-06-21 09:12:00', '2022-09-08 12:20:33'),
(46, 'breadcrumb.content', '{\"has_image\":\"1\",\"image\":\"62b1a27b85b171655808635.jpg\"}', '2022-06-21 09:20:35', '2022-06-21 09:20:35'),
(47, 'social_icon.element', '{\"title\":\"Instagram\",\"social_icon\":\"<i class=\\\"lab la-instagram\\\"><\\/i>\",\"url\":\"https:\\/\\/instagram.com\"}', '2022-06-21 09:30:19', '2022-06-21 09:30:19'),
(48, 'social_icon.element', '{\"title\":\"Linkedin\",\"social_icon\":\"<i class=\\\"lab la-linkedin-in\\\"><\\/i>\",\"url\":\"https:\\/\\/www.linkedin.com\\/\"}', '2022-06-21 09:30:44', '2022-06-21 09:30:44'),
(49, 'social_icon.element', '{\"title\":\"Twitter\",\"social_icon\":\"<i class=\\\"lab la-twitter\\\"><\\/i>\",\"url\":\"https:\\/\\/twitter.com\\/\"}', '2022-06-21 09:31:09', '2022-06-21 09:31:09'),
(50, 'social_icon.element', '{\"title\":\"Facebook\",\"social_icon\":\"<i class=\\\"lab la-facebook-f\\\"><\\/i>\",\"url\":\"https:\\/\\/www.facebook.com\\/\"}', '2022-06-21 09:31:39', '2022-06-21 09:31:40'),
(51, 'login.content', '{\"has_image\":\"1\",\"heading\":\"Welcome Back!!\",\"sub_heading\":\"Login with Bitcoinvio helps you with trade bitcoin more easy and secure way throughout the world.\",\"image\":\"62b1aac1f09ce1655810753.jpg\"}', '2022-06-21 09:55:53', '2022-06-21 09:55:54'),
(52, 'registration.content', '{\"has_image\":\"1\",\"heading\":\"Registration\",\"sub_heading\":\"Get Started Trade With Us.  We hope for your happy trading!\",\"image\":\"62b1aae59c3cc1655810789.jpg\"}', '2022-06-21 09:56:29', '2022-06-21 09:56:29'),
(54, 'advertisement.content', '{\"i_want_to\":\"What kind of advertisement do you wish to create? If you wish to sell bitcoins make sure you have bitcoins in your wallet.\",\"crypto_currency\":\"Which cryptocurrency do you wish to buy or sell?\",\"fiat_payment_method\":\"Which payment method will be used to pay the fiat currency?\",\"currency\":\"Which fiat currency needs exchange from cryptocurrency?\",\"price_type\":\"Select a type margin or fixed.\",\"margin\":\"The margin you want over the bitcoin market price. Use a negative value for buying or selling under the market price to attract more contacts. For more complex pricing edit the price equation directly.\",\"fixed_price\":\"If you want to sell or buy your coins in fixed price then use this.\",\"payment_window\":\"For Buyer: Within how many minutes do you promise to initiate the payment. For Seller: Within how many minutes you want to get paid.\",\"minimum_limit\":\"Minimum transaction limit in one trade.\",\"maximum_limit\":\"Maximum transaction limit in one trade.\",\"price_equation\":\"Maximum transaction limit in one trade.\",\"payment_details\":\"If necessary, please provide details on how to transfer money.\",\"terms_of_trades\":\"Provide the terms of trades for this advertisement.\"}', '2022-06-23 08:34:30', '2022-06-23 08:34:30'),
(55, 'banner.content', '{\"has_image\":\"1\",\"heading\":\"Exchange your cryptocurrencies\",\"subheading\":\"LocalCoins is a p2p crypto exchange marketplace where people can trade crypto directly with each other.\",\"form_header\":\"Find Your Offers\",\"form_button_text\":\"Find Offers\",\"image\":\"62b6a521160da1656136993.jpg\",\"form_bg\":\"62b6a521903841656136993.png\"}', '2022-06-25 04:33:13', '2022-09-10 09:50:29'),
(56, 'overview.element', '{\"details\":\"24\\/7 Support\",\"icon\":\"<i class=\\\"las la-headset\\\"><\\/i>\"}', '2022-06-25 04:52:11', '2022-06-25 04:52:11'),
(57, 'overview.element', '{\"details\":\"100% Secured\",\"icon\":\"<i class=\\\"las la-user-shield\\\"><\\/i>\"}', '2022-06-25 04:52:24', '2022-06-25 04:52:24'),
(58, 'overview.element', '{\"details\":\"Millions Happy Users\",\"icon\":\"<i class=\\\"las la-users\\\"><\\/i>\"}', '2022-06-25 04:52:43', '2022-06-25 04:52:43'),
(59, 'overview.element', '{\"details\":\"Best Currency Exchange Platform\",\"icon\":\"<i class=\\\"las la-award\\\"><\\/i>\"}', '2022-06-25 04:53:00', '2022-06-25 04:53:00'),
(60, 'buy.content', '{\"has_image\":\"1\",\"heading\":\"Buy Crypto Currencies\",\"sub_heading\":\"With a proven track record and a mature approach to the industry, we provide a reliable buying platform for cryptocurrencies.\",\"image\":\"62b6aaec00f131656138476.jpg\"}', '2022-06-25 04:57:55', '2022-06-25 04:57:56'),
(61, 'sell.content', '{\"heading\":\"Sell Crypto Currency\",\"sub_heading\":\"With a proven track record and a mature approach to the industry, we provide a reliable selling platform for cryptocurrency.\"}', '2022-06-25 04:58:22', '2022-06-25 04:58:22'),
(62, 'choose_us.content', '{\"has_image\":\"1\",\"heading\":\"Why People Choose Us\",\"sub_heading\":\"Earning the trust of our clients has always been our highest priority. We earn that trust through the best security in the business. Our platform provides world-class financial stability and the highest standards of legal compliance.\",\"image\":\"62b6ab3a55c691656138554.jpg\"}', '2022-06-25 04:59:14', '2022-06-25 04:59:14'),
(63, 'choose_us.element', '{\"has_image\":\"1\",\"heading\":\"Easy Access\",\"details\":\"It\'s a most reliable site and easy to access. We maintain a very simple login process and easy configuration for all the users.\",\"image\":\"62b6ab4f5ed201656138575.png\"}', '2022-06-25 04:59:35', '2022-06-25 04:59:35'),
(64, 'choose_us.element', '{\"has_image\":\"1\",\"heading\":\"Buy Bitcoin Online\",\"details\":\"The buying process is so simple with this site. Just log in to the account and buy any of the bitcoin package based on demand.\",\"image\":\"62b6aba84854d1656138664.png\"}', '2022-06-25 05:01:04', '2022-06-25 05:01:04'),
(65, 'choose_us.element', '{\"has_image\":\"1\",\"heading\":\"Sell Bitcoin online\",\"details\":\"The selling process is also simple! Sell your Bitcoin at your chosen rate, and get paid in one of the numerous payment methods.\",\"image\":\"62b6abbdd734e1656138685.png\"}', '2022-06-25 05:01:25', '2022-06-25 05:01:25'),
(66, 'choose_us.element', '{\"has_image\":\"1\",\"heading\":\"Earn extra income\",\"details\":\"Buy and Sell your Bitcoin at your chosen rate and it is a great opportunity for all the uses to get more profit from this site.\",\"image\":\"62b6abe6245c91656138726.png\"}', '2022-06-25 05:02:06', '2022-06-25 05:02:06'),
(67, 'choose_us.element', '{\"has_image\":\"1\",\"heading\":\"High reliability\",\"details\":\"We are trusted by a huge number of people. We are working hard constantly to improve the level of our security system and minimize possible risks.\",\"image\":\"62b6abf67c9fb1656138742.png\"}', '2022-06-25 05:02:22', '2022-06-25 05:02:22'),
(68, 'choose_us.element', '{\"has_image\":\"1\",\"heading\":\"Legal Company\",\"details\":\"Our company conducts absolutely legal activities. We are certified to operate this business, we are legal and safe.\",\"image\":\"62b6ac0a5f1451656138762.png\"}', '2022-06-25 05:02:42', '2022-06-25 05:02:42'),
(69, 'offer.content', '{\"has_image\":\"1\",\"heading\":\"Welcome to the peer-to-peer finance revolution!\",\"sub_heading\":\"Trade cryptocurrency globally. Multiple payment methods. Free bitcoin wallet. And much more right here!\",\"button_text\":\"Get Started\",\"button_url\":\"register\",\"image\":\"62b6ac8a2fccb1656138890.jpg\"}', '2022-06-25 05:04:50', '2022-06-25 05:04:50'),
(71, 'faq.content', '{\"heading\":\"Frequently Asked Questions.\",\"sub_heading\":\"We answer some of your Frequently Asked Questions regarding our platform. If you have a query that is not answered here, Please contact us via mail.\"}', '2022-06-25 05:11:05', '2022-06-25 05:11:05'),
(72, 'faq.element', '{\"question\":\"Can I make money with Bitcoin ?\",\"answer\":\"You should never expect to get rich with Bitcoin or any emerging technology. It is always important to be wary of anything that sounds too good to be true or disobeys basic economic rules.\"}', '2022-06-25 05:11:20', '2022-06-25 05:11:20'),
(73, 'faq.element', '{\"question\":\"What is Bitcoin ?\",\"answer\":\"Bitcoin is a consensus network that enables a new payment system and completely digital money. It is the first decentralized peer-to-peer payment network that is powered by its users with no central authority or middlemen. From a user perspective, Bitcoin is pretty much like cash for the Internet. Bitcoin can also be seen as the most prominent triple entry bookkeeping system in existence.\"}', '2022-06-25 05:11:35', '2022-06-25 05:11:35'),
(74, 'faq.element', '{\"question\":\"How to sell bitcoin ?\",\"answer\":\"It\\u2019s now easy to sell Bitcoin as a BITCCA vendor. You have the freedom to set your own rates, and also the luxury of over 20 payment options to get paid for the Bitcoin you sell. As BITCCA is a peer-to-peer marketplace, you can sell your Bitcoin directly to over 3 million users worldwide.\"}', '2022-06-25 05:11:51', '2022-06-25 05:11:51'),
(75, 'faq.element', '{\"question\":\"How to buy bitcoin ?\",\"answer\":\"It\\u2019s now easy to buy Bitcoin as a BITCCA vendor. You have the freedom to choose your own rates. As BITCCA is a peer-to-peer marketplace, you can buy your Bitcoin directly from over 3 million users worldwide.\"}', '2022-06-25 05:12:17', '2022-06-25 05:12:17'),
(76, 'faq.element', '{\"question\":\"What is online money  exchanging ?\",\"answer\":\"An online currency exchange, or electronic forex exchange, is an internet-based platform that facilitates the exchange of currencies between countries. Like their physical counterparts, online currency exchanges make money by charging a nominal fee and\\/or through the bid-ask spread in a currency.\"}', '2022-06-25 05:12:32', '2022-06-25 05:12:32'),
(77, 'testimonial.content', '{\"has_image\":\"1\",\"heading\":\"What Our Client Say About Us\",\"sub_heading\":\"We have done some awesome works and we always care for our clients, lets see what\'s their opinion about us.\",\"image\":\"62b6ae9f2458b1656139423.jpg\"}', '2022-06-25 05:13:42', '2022-06-25 05:13:43'),
(78, 'testimonial.element', '{\"has_image\":[\"1\"],\"author_name\":\"Lucee\",\"quote\":\"This is best for crypto exchange among other features. This is best for crypto exchange among other features.\",\"image\":\"62b6aee9d81741656139497.jpg\"}', '2022-06-25 05:14:57', '2022-06-25 05:14:57'),
(79, 'testimonial.element', '{\"has_image\":[\"1\"],\"author_name\":\"Clark\",\"quote\":\"The website provides a variety of related services.  This is best for crypto exchange among other features.\",\"image\":\"62b6aefd0f7c21656139517.jpg\"}', '2022-06-25 05:15:17', '2022-06-25 05:15:17'),
(80, 'testimonial.element', '{\"has_image\":[\"1\"],\"author_name\":\"Mr. Pop\",\"quote\":\"BITCCA is a company and website dedicated to the bitcoin cash and bitcoin selling platform. The website provides a variety of related services.\",\"image\":\"62b6af0fb231a1656139535.jpg\"}', '2022-06-25 05:15:35', '2022-06-25 05:15:35'),
(81, 'testimonial.element', '{\"has_image\":[\"1\"],\"author_name\":\"Mark\",\"quote\":\"Localcoins is the best website for selling bitcoin and making cash. They provide authentic services.  This is best for the crypto exchange platforms.\",\"image\":\"62b6af24201491656139556.jpg\"}', '2022-06-25 05:15:56', '2022-06-25 05:15:56'),
(82, 'testimonial.element', '{\"has_image\":[\"1\"],\"author_name\":\"Danniel\",\"quote\":\"I do business here for a long time. They give fast service and I feel trusted here. This is best for crypto exchange among other features.\",\"image\":\"62b6af34efd031656139572.jpg\"}', '2022-06-25 05:16:12', '2022-06-25 05:16:13'),
(83, 'testimonial.element', '{\"has_image\":[\"1\"],\"author_name\":\"Hopper\",\"quote\":\"The website provides a variety of related services.  This is best for crypto exchange among other features. This is best site for all\",\"image\":\"62b6af463df2d1656139590.jpg\"}', '2022-06-25 05:16:30', '2022-06-25 05:16:30'),
(84, 'contact.element', '{\"icon\":\"<i class=\\\"lar la-envelope\\\"><\\/i>\",\"heading\":\"Email Address\",\"details\":\"support@demoemail.com\"}', '2022-06-28 04:42:27', '2022-06-28 04:42:27'),
(85, 'contact.element', '{\"icon\":\"<i class=\\\"las la-phone-volume\\\"><\\/i>\",\"heading\":\"Phone Number\",\"details\":\"+0123 456789\"}', '2022-06-28 04:42:43', '2022-06-28 04:42:43'),
(86, 'contact.element', '{\"icon\":\"<i class=\\\"las la-map-marker\\\"><\\/i>\",\"heading\":\"Office Address\",\"details\":\"College Road, Uttar Horin Singha, Gaibandha-5700\"}', '2022-06-28 04:43:05', '2022-06-28 04:43:05'),
(87, 'contact.content', '{\"latitude\":\"25.793449\",\"longitude\":\"-80.139198\"}', '2022-06-28 04:43:55', '2022-06-28 04:43:55'),
(90, 'kyc.content', '{\"kyc_required\":\"KYC means Know Your Customer and sometimes Know Your Client. KYC check is the mandatory process of identifying and verifying your identity to use our platform. In other words, we must make sure that our clients are genuinely who they claim to be. We may refuse you to use our platform or halt a business relationship if you fail to meet minimum KYC requirements.\",\"kyc_pending\":\"KYC means Know Your Customer and sometimes Know Your Client. KYC check is the mandatory process of identifying and verifying your identity to use our platform. In other words, we must make sure that our clients are genuinely who they claim to be. Your submitted KYC verification data is pending. Wait for the system response.\"}', '2022-07-07 03:21:25', '2022-07-07 03:25:06');


ALTER TABLE `general_settings` ADD `trade_charge` DECIMAL(5,2) NOT NULL DEFAULT '0' AFTER `merchant_id`;
ALTER TABLE `general_settings` CHANGE `sms_api` `sms_body` VARCHAR(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL;
ALTER TABLE `general_settings` ADD `sms_from` VARCHAR(255) NULL DEFAULT NULL AFTER `sms_body`;
ALTER TABLE `general_settings` DROP COLUMN `secondary_color`;
ALTER TABLE `general_settings` ADD `push_notification_config` TEXT NULL DEFAULT NULL AFTER `sms_config`, ADD `global_shortcodes` TEXT NULL DEFAULT NULL AFTER `push_notification_config`, ADD `kv` TINYINT(1) NOT NULL DEFAULT '0' AFTER `global_shortcodes`;
ALTER TABLE `general_settings` ADD `pn` TINYINT(1) NOT NULL DEFAULT '0' COMMENT 'push notification, 0 - dont send, 1 - send' AFTER `sn`;
ALTER TABLE `general_settings` ADD `maintenance_mode` TINYINT(1) NOT NULL DEFAULT '0' AFTER `force_ssl`;
ALTER TABLE `general_settings` CHANGE `last_cron` `fiat_cron` TIMESTAMP NULL DEFAULT NULL;

ALTER TABLE `general_settings` ADD `crypto_cron` TIMESTAMP NULL DEFAULT NULL AFTER `fiat_cron`, ADD `deposit_commission` TINYINT(1) UNSIGNED NOT NULL DEFAULT '0' AFTER `crypto_cron`, ADD `trade_commission` TINYINT(1) UNSIGNED NOT NULL DEFAULT '0' AFTER `deposit_commission`;

ALTER TABLE `general_settings` CHANGE `sys_version` `system_info` TEXT CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL;

ALTER TABLE `general_settings` CHANGE `sitename` `site_name` VARCHAR(40) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL;

UPDATE `pages` SET `slug` = '/' WHERE `pages`.`id` = 1;

ALTER TABLE `languages` DROP COLUMN `icon`;

ALTER TABLE `notification_logs` CHANGE `mail_sender` `sender` VARCHAR(40) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL;
ALTER TABLE `notification_logs` CHANGE `email_from` `sent_from` VARCHAR(40) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL;
ALTER TABLE `notification_logs` CHANGE `email_to` `sent_to` VARCHAR(40) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL;
ALTER TABLE `notification_logs` ADD `notification_type` VARCHAR(40) NULL DEFAULT NULL AFTER `message`;
UPDATE `notification_logs` SET `notification_type`='email';

ALTER TABLE `notification_templates` ADD `push_notification_body` TEXT NULL DEFAULT NULL AFTER `sms_body`;
ALTER TABLE `notification_templates` ADD `push_notification_status` TINYINT(1) UNSIGNED NOT NULL DEFAULT '1' AFTER `sms_status`;
ALTER TABLE `notification_templates` CHANGE `act` `act` VARCHAR(40) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL;
ALTER TABLE `notification_templates` CHANGE `name` `name` VARCHAR(40) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL;
ALTER TABLE `notification_templates` CHANGE `subj` `subj` VARCHAR(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL;
ALTER TABLE `notification_templates` CHANGE `shortcodes` `shortcodes` TEXT CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL;

RENAME TABLE `windows` TO `payment_windows`;

DROP TABLE subscribers;

--
-- Table structure for table `referrals`
--

CREATE TABLE `referrals` (
  `id` bigint(20) UNSIGNED NOT NULL,
  `commission_type` varchar(40) COLLATE utf8mb4_unicode_ci NOT NULL,
  `level` int(10) UNSIGNED NOT NULL,
  `percent` decimal(12,2) NOT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Indexes for dumped tables
--

--
-- Indexes for table `referrals`
--
ALTER TABLE `referrals`
  ADD PRIMARY KEY (`id`);

--
-- AUTO_INCREMENT for dumped tables
--

--
-- AUTO_INCREMENT for table `referrals`
--
ALTER TABLE `referrals` MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT;


--
-- Table structure for table `reviews`
--

CREATE TABLE `reviews` (
  `id` bigint(20) UNSIGNED NOT NULL,
  `advertisement_id` int(10) UNSIGNED NOT NULL,
  `trade_id` int(10) UNSIGNED NOT NULL,
  `user_id` int(10) UNSIGNED NOT NULL,
  `to_id` int(10) UNSIGNED NOT NULL,
  `type` tinyint(3) UNSIGNED NOT NULL,
  `feedback` text COLLATE utf8mb4_unicode_ci NOT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Indexes for dumped tables
--

--
-- Indexes for table `reviews`
--
ALTER TABLE `reviews`
  ADD PRIMARY KEY (`id`);

--
-- AUTO_INCREMENT for dumped tables
--

--
-- AUTO_INCREMENT for table `reviews`
--
ALTER TABLE `reviews` MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT;

RENAME TABLE `trade_requests` TO `trades`;

ALTER TABLE `trades` ADD `trade_charge` DECIMAL(28,8) NOT NULL DEFAULT '0' AFTER `crypto_amount`;
ALTER TABLE `trades` CHANGE `crypto_id` `crypto_currency_id` INT(10) UNSIGNED NOT NULL;
ALTER TABLE `trades` CHANGE `fiat_id` `fiat_currency_id` INT(10) UNSIGNED NOT NULL;
ALTER TABLE `trades` ADD `reported_by` INT(10) UNSIGNED NULL DEFAULT NULL AFTER `details`;
ALTER TABLE `trades` ADD `completed_at` TIMESTAMP NULL DEFAULT NULL AFTER `paid_at`, ADD `reviewed` TINYINT(1) NOT NULL DEFAULT '0' AFTER `completed_at`;
ALTER TABLE `transactions` CHANGE `crypto_id` `crypto_currency_id` INT(10) UNSIGNED NULL DEFAULT NULL;
ALTER TABLE `transactions` ADD `remark` VARCHAR(40) NULL DEFAULT NULL AFTER `details`;

ALTER TABLE `users` ADD `kyc_data` TEXT NULL DEFAULT NULL AFTER `status`, ADD `kv` TINYINT(1) NOT NULL DEFAULT '0' COMMENT '0: KYC Unverified, 2: KYC pending, 1: KYC verified' AFTER `kyc_data`;

ALTER TABLE `users` ADD `reg_step` TINYINT(1) NOT NULL DEFAULT '0' AFTER `sv`;
ALTER TABLE `users` ADD `ban_reason` VARCHAR(255) NULL DEFAULT NULL AFTER `tsc`;
ALTER TABLE `users` ADD `completed_trade` INT(10) UNSIGNED NOT NULL DEFAULT '0' AFTER `remember_token`;
ALTER TABLE `users` ADD `total_min` INT(10) UNSIGNED NOT NULL DEFAULT '0' AFTER `completed_trade`;

--
-- Table structure for table `user_notifications`
--

CREATE TABLE `user_notifications` (
  `id` bigint(20) UNSIGNED NOT NULL,
  `title` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
  `user_id` int(10) NOT NULL,
  `read_status` tinyint(1) NOT NULL DEFAULT 0 COMMENT 'Unread : 0, Read : 1',
  `remark` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `click_value` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Indexes for dumped tables
--

--
-- Indexes for table `user_notifications`
--
ALTER TABLE `user_notifications`
  ADD PRIMARY KEY (`id`);

--
-- AUTO_INCREMENT for dumped tables
--

--
-- AUTO_INCREMENT for table `user_notifications`
--
ALTER TABLE `user_notifications` MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT;

ALTER TABLE `wallets` CHANGE `crypto_id` `crypto_currency_id` INT(10) UNSIGNED NOT NULL;
ALTER TABLE `withdrawals` CHANGE `crypto_id` `crypto_currency_id` INT(10) UNSIGNED NOT NULL;


TRUNCATE TABLE notification_templates;





UPDATE `general_settings` SET `global_shortcodes` = ' {\r\n \"site_name\":\"Name of your site\"\r\n }' WHERE `general_settings`.`id` = 1;

UPDATE `general_settings` SET `email_template` = '<meta http-equiv=\"Content-Type\" content=\"text/html; charset=utf-8\">\r\n  <!--[if !mso]><!-->\r\n  <meta http-equiv=\"X-UA-Compatible\" content=\"IE=edge\">\r\n  <!--<![endif]-->\r\n  <meta name=\"viewport\" content=\"width=device-width, initial-scale=1.0\">\r\n  <title></title>\r\n  <style type=\"text/css\">\r\n.ReadMsgBody { width: 100%; background-color: #ffffff; }\r\n.ExternalClass { width: 100%; background-color: #ffffff; }\r\n.ExternalClass, .ExternalClass p, .ExternalClass span, .ExternalClass font, .ExternalClass td, .ExternalClass div { line-height: 100%; }\r\nhtml { width: 100%; }\r\nbody { -webkit-text-size-adjust: none; -ms-text-size-adjust: none; margin: 0; padding: 0; }\r\ntable { border-spacing: 0; table-layout: fixed; margin: 0 auto;border-collapse: collapse; }\r\ntable table table { table-layout: auto; }\r\n.yshortcuts a { border-bottom: none !important; }\r\nimg:hover { opacity: 0.9 !important; }\r\na { color: #0087ff; text-decoration: none; }\r\n.textbutton a { font-family: \'open sans\', arial, sans-serif !important;}\r\n.btn-link a { color:#FFFFFF !important;}\r\n\r\n@media only screen and (max-width: 480px) {\r\nbody { width: auto !important; }\r\n*[class=\"table-inner\"] { width: 90% !important; text-align: center !important; }\r\n*[class=\"table-full\"] { width: 100% !important; text-align: center !important; }\r\n/* image */\r\nimg[class=\"img1\"] { width: 100% !important; height: auto !important; }\r\n}\r\n</style>\r\n\r\n\r\n\r\n  <table bgcolor=\"#414a51\" width=\"100%\" border=\"0\" align=\"center\" cellpadding=\"0\" cellspacing=\"0\">\r\n    <tbody><tr>\r\n      <td height=\"50\"></td>\r\n    </tr>\r\n    <tr>\r\n      <td align=\"center\" style=\"text-align:center;vertical-align:top;font-size:0;\">\r\n        <table align=\"center\" border=\"0\" cellpadding=\"0\" cellspacing=\"0\">\r\n          <tbody><tr>\r\n            <td align=\"center\" width=\"600\">\r\n              <!--header-->\r\n              <table class=\"table-inner\" width=\"95%\" border=\"0\" align=\"center\" cellpadding=\"0\" cellspacing=\"0\">\r\n                <tbody><tr>\r\n                  <td bgcolor=\"#0087ff\" style=\"border-top-left-radius:6px; border-top-right-radius:6px;text-align:center;vertical-align:top;font-size:0;\" align=\"center\">\r\n                    <table width=\"90%\" border=\"0\" align=\"center\" cellpadding=\"0\" cellspacing=\"0\">\r\n                      <tbody><tr>\r\n                        <td height=\"20\"></td>\r\n                      </tr>\r\n                      <tr>\r\n                        <td align=\"center\" style=\"font-family: \'Open sans\', Arial, sans-serif; color:#FFFFFF; font-size:16px; font-weight: bold;\">This is a System Generated Email</td>\r\n                      </tr>\r\n                      <tr>\r\n                        <td height=\"20\"></td>\r\n                      </tr>\r\n                    </tbody></table>\r\n                  </td>\r\n                </tr>\r\n              </tbody></table>\r\n              <!--end header-->\r\n              <table class=\"table-inner\" width=\"95%\" border=\"0\" cellspacing=\"0\" cellpadding=\"0\">\r\n                <tbody><tr>\r\n                  <td bgcolor=\"#FFFFFF\" align=\"center\" style=\"text-align:center;vertical-align:top;font-size:0;\">\r\n                    <table align=\"center\" width=\"90%\" border=\"0\" cellspacing=\"0\" cellpadding=\"0\">\r\n                      <tbody><tr>\r\n                        <td height=\"35\"></td>\r\n                      </tr>\r\n                      <!--logo-->\r\n                      <tr>\r\n                        <td align=\"center\" style=\"vertical-align:top;font-size:0;\">\r\n                          <a href=\"#\">\r\n                            <img style=\"display:block; line-height:0px; font-size:0px; border:0px;\" src=\"https://i.imgur.com/Z1qtvtV.png\" alt=\"img\">\r\n                          </a>\r\n                        </td>\r\n                      </tr>\r\n                      <!--end logo-->\r\n                      <tr>\r\n                        <td height=\"40\"></td>\r\n                      </tr>\r\n                      <!--headline-->\r\n                      <tr>\r\n                        <td align=\"center\" style=\"font-family: \'Open Sans\', Arial, sans-serif; font-size: 22px;color:#414a51;font-weight: bold;\">Hello {{fullname}} ({{username}})</td>\r\n                      </tr>\r\n                      <!--end headline-->\r\n                      <tr>\r\n                        <td align=\"center\" style=\"text-align:center;vertical-align:top;font-size:0;\">\r\n                          <table width=\"40\" border=\"0\" align=\"center\" cellpadding=\"0\" cellspacing=\"0\">\r\n                            <tbody><tr>\r\n                              <td height=\"20\" style=\" border-bottom:3px solid #0087ff;\"></td>\r\n                            </tr>\r\n                          </tbody></table>\r\n                        </td>\r\n                      </tr>\r\n                      <tr>\r\n                        <td height=\"20\"></td>\r\n                      </tr>\r\n                      <!--content-->\r\n                      <tr>\r\n                        <td align=\"left\" style=\"font-family: \'Open sans\', Arial, sans-serif; color:#7f8c8d; font-size:16px; line-height: 28px;\">{{message}}</td>\r\n                      </tr>\r\n                      <!--end content-->\r\n                      <tr>\r\n                        <td height=\"40\"></td>\r\n                      </tr>\r\n              \r\n                    </tbody></table>\r\n                  </td>\r\n                </tr>\r\n                <tr>\r\n                  <td height=\"45\" align=\"center\" bgcolor=\"#f4f4f4\" style=\"border-bottom-left-radius:6px;border-bottom-right-radius:6px;\">\r\n                    <table align=\"center\" width=\"90%\" border=\"0\" cellspacing=\"0\" cellpadding=\"0\">\r\n                      <tbody><tr>\r\n                        <td height=\"10\"></td>\r\n                      </tr>\r\n                      <!--preference-->\r\n                      <tr>\r\n                        <td class=\"preference-link\" align=\"center\" style=\"font-family: \'Open sans\', Arial, sans-serif; color:#95a5a6; font-size:14px;\">\r\n                          © 2021 <a href=\"#\">{{site_name}}</a>&nbsp;. All Rights Reserved. \r\n                        </td>\r\n                      </tr>\r\n                      <!--end preference-->\r\n                      <tr>\r\n                        <td height=\"10\"></td>\r\n                      </tr>\r\n                    </tbody></table>\r\n                  </td>\r\n                </tr>\r\n              </tbody></table>\r\n            </td>\r\n          </tr>\r\n        </tbody></table>\r\n      </td>\r\n    </tr>\r\n    <tr>\r\n      <td height=\"60\"></td>\r\n    </tr>\r\n  </tbody></table>' WHERE `general_settings`.`id` = 1;



UPDATE `general_settings` SET `sms_from` = 'ViserAdmin' WHERE `general_settings`.`id` = 1;

UPDATE `general_settings` SET `sms_config` = '{\"name\":\"nexmo\",\"clickatell\":{\"api_key\":\"----------------\"},\"infobip\":{\"username\":\"------------8888888\",\"password\":\"-----------------\"},\"message_bird\":{\"api_key\":\"-------------------\"},\"nexmo\":{\"api_key\":\"----------------------\",\"api_secret\":\"----------------------\"},\"sms_broadcast\":{\"username\":\"----------------------\",\"password\":\"-----------------------------\"},\"twilio\":{\"account_sid\":\"-----------------------\",\"auth_token\":\"---------------------------\",\"from\":\"----------------------\"},\"text_magic\":{\"username\":\"-----------------------\",\"apiv2_key\":\"-------------------------------\"},\"custom\":{\"method\":\"get\",\"url\":\"https:\\/\\/hostname\\/demo-api-v1\",\"headers\":{\"name\":[\"api_key\"],\"value\":[\"test_api 555\"]},\"body\":{\"name\":[\"from_number\"],\"value\":[\"5657545757\"]}}}' WHERE `general_settings`.`id` = 1;

ALTER TABLE `notification_templates` ADD `has_pn` TINYINT(1) UNSIGNED NOT NULL DEFAULT '1' AFTER `push_notification_status`;

UPDATE `notification_templates` SET `has_pn` = '0', `push_notification_status` = '0' WHERE `notification_templates`.`act` = 'PASS_RESET_CODE';
UPDATE `notification_templates` SET `has_pn` = '0', `push_notification_status` = '0' WHERE `notification_templates`.`act` = 'PASS_RESET_DONE';
UPDATE `notification_templates` SET `has_pn` = '0', `push_notification_status` = '0' WHERE `notification_templates`.`act` = 'ADMIN_SUPPORT_REPLY';

UPDATE `extensions` SET `shortcode` = '{\"site_key\":{\"title\":\"Site Key\",\"value\":\"*********\"},\"secret_key\":{\"title\":\"Secret Key\",\"value\":\"**********\"}}' WHERE `extensions`.`id` = 2;

ALTER TABLE `support_messages` CHANGE `supportticket_id` `support_ticket_id` INT(10) UNSIGNED NOT NULL DEFAULT '0';


UPDATE `users` SET `kv`= 1, `reg_step` = 1;

UPDATE `extensions` SET `script` = '<script src=\"https://www.google.com/recaptcha/api.js\"></script>\r\n<div class=\"g-recaptcha\" data-sitekey=\"{{site_key}}\" data-callback=\"verifyCaptcha\"></div>\r\n<div id=\"g-recaptcha-error\"></div>' WHERE `extensions`.`id` = 2;