Skip to content

Commit

Permalink
4.7.0 db changes
Browse files Browse the repository at this point in the history
  • Loading branch information
sendtogeo committed Sep 30, 2020
1 parent 0ae3249 commit ad9f74a
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 12 deletions.
9 changes: 9 additions & 0 deletions install/data/seopanel.sql
Original file line number Diff line number Diff line change
Expand Up @@ -1388,6 +1388,15 @@ CREATE TABLE `mail_logs` (
ALTER TABLE `mail_logs` ADD PRIMARY KEY (`id`);
ALTER TABLE `mail_logs` MODIFY `id` bigint(20) NOT NULL AUTO_INCREMENT;

--
-- Seo Panel 4.7.0 changes
--

INSERT INTO `settings` (`set_label`, `set_name`, `set_val`, `set_category`, `set_type`, `display`) VALUES
('Enable reCAPTCHA', 'SP_ENABLE_RECAPTCHA', '0', 'google', 'bool', 1),
('reCAPTCHA Site Key', 'SP_RECAPTCHA_SITE_KEY', '', 'google', 'large', 1),
('reCAPTCHA Secret Key', 'SP_RECAPTCHA_SECRET_KEY', '', 'google', 'large', 1);

/*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */;
/*!40101 SET CHARACTER_SET_RESULTS=@OLD_CHARACTER_SET_RESULTS */;
/*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */;
5 changes: 5 additions & 0 deletions install/data/textlang.sql
Original file line number Diff line number Diff line change
Expand Up @@ -14879,6 +14879,11 @@ INSERT INTO `translators` (`id`, `lang_code`, `trans_name`, `trans_company`, `tr
(33, 'pt-BR', 'Edson Medeiros', 'We Marketing Digital', 'http://wemarketingdigital.com.br/'),
(34, 'tr', 'Nuh Mehmet SOYLU', 'Mehmet SOYLU', 'http://mehmet-soylu.com/');

INSERT INTO `texts` (`category`, `label`, `content`) VALUES
('common', 'reCAPTCHA verification failed', 'reCAPTCHA verification failed'),
('settings', 'SP_ENABLE_RECAPTCHA', 'Enable reCAPTCHA'),
('settings', 'SP_RECAPTCHA_SITE_KEY', 'reCAPTCHA Site Key'),
('settings', 'SP_RECAPTCHA_SECRET_KEY', 'reCAPTCHA Secret Key');

ALTER TABLE `languages`
ADD PRIMARY KEY (`lang_code`);
Expand Down
13 changes: 1 addition & 12 deletions install/data/upgrade.sql
Original file line number Diff line number Diff line change
Expand Up @@ -7,15 +7,4 @@ update `settings` set set_val='4.7.0' WHERE `set_name` LIKE 'SP_VERSION_NUMBER';
INSERT INTO `settings` (`set_label`, `set_name`, `set_val`, `set_category`, `set_type`, `display`) VALUES
('Enable reCAPTCHA', 'SP_ENABLE_RECAPTCHA', '0', 'google', 'bool', 1),
('reCAPTCHA Site Key', 'SP_RECAPTCHA_SITE_KEY', '', 'google', 'large', 1),
('reCAPTCHA Secret Key', 'SP_RECAPTCHA_SECRET_KEY', '', 'google', 'large', 1);


--
-- Text changes
--

INSERT INTO `texts` (`category`, `label`, `content`) VALUES
('common', 'reCAPTCHA verification failed', 'reCAPTCHA verification failed'),
('settings', 'SP_ENABLE_RECAPTCHA', 'Enable reCAPTCHA'),
('settings', 'SP_RECAPTCHA_SITE_KEY', 'reCAPTCHA Site Key'),
('settings', 'SP_RECAPTCHA_SECRET_KEY', 'reCAPTCHA Secret Key');
('reCAPTCHA Secret Key', 'SP_RECAPTCHA_SECRET_KEY', '', 'google', 'large', 1);

0 comments on commit ad9f74a

Please sign in to comment.