Skip to content

Commit

Permalink
Rename update SQL scripts and add custom_data column
Browse files Browse the repository at this point in the history
- Rename the update SQL so it will run when updating a previous 4.0.
- Add the custom_data column to the update statement so it doesn't fail.
  • Loading branch information
richard67 committed Sep 22, 2020
1 parent bc025b5 commit a5cf0c0
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
@@ -1,2 +1,2 @@
INSERT INTO `#__extensions` (`package_id`, `name`, `type`, `element`, `folder`, `client_id`, `enabled`, `access`, `protected`, `locked`, `manifest_cache`, `params`, `checked_out`, `checked_out_time`, `ordering`, `state`) VALUES
(0, 'plg_captcha_hcaptcha', 'plugin', 'hcaptcha', 'captcha', 0, 0, 1, 0, 1, '', '{"publicKey":"","privateKey":"","theme":"light","size":"normal"}', 0, NULL, 0, 0);
INSERT INTO `#__extensions` (`package_id`, `name`, `type`, `element`, `folder`, `client_id`, `enabled`, `access`, `protected`, `locked`, `manifest_cache`, `params`, `custom_data`, `checked_out`, `checked_out_time`, `ordering`, `state`) VALUES
(0, 'plg_captcha_hcaptcha', 'plugin', 'hcaptcha', 'captcha', 0, 0, 1, 0, 1, '', '{"publicKey":"","privateKey":"","theme":"light","size":"normal"}', '', 0, NULL, 0, 0);
@@ -1,2 +1,2 @@
INSERT INTO "#__extensions" ("package_id", "name", "type", "element", "folder", "client_id", "enabled", "access", "protected", "locked", "manifest_cache", "params", "checked_out", "checked_out_time", "ordering", "state") VALUES
(0, 'plg_captcha_hcaptcha', 'plugin', 'hcaptcha', 'captcha', 0, 0, 1, 0, 1, '', '{"publicKey":"","privateKey":"","theme":"light","size":"normal"}', 0, NULL, 0, 0);
INSERT INTO "#__extensions" ("package_id", "name", "type", "element", "folder", "client_id", "enabled", "access", "protected", "locked", "manifest_cache", "params", "custom_data", "checked_out", "checked_out_time", "ordering", "state") VALUES
(0, 'plg_captcha_hcaptcha', 'plugin', 'hcaptcha', 'captcha', 0, 0, 1, 0, 1, '', '{"publicKey":"","privateKey":"","theme":"light","size":"normal"}', '', 0, NULL, 0, 0);

0 comments on commit a5cf0c0

Please sign in to comment.