This is an automated email from the ASF dual-hosted git repository.
liuhongyu pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/shenyu.git
The following commit(s) were added to refs/heads/master by this push:
new fd8950682a [type:fix] remove duplicate entry '1792749362445840479' for
key resource.PRIMARY from resource table #5895 (#5911)
fd8950682a is described below
commit fd8950682ac6bc0a3aadccdeffbc0a8077f8e718
Author: cntiger <[email protected]>
AuthorDate: Fri Jan 24 09:39:54 2025 +0800
[type:fix] remove duplicate entry '1792749362445840479' for key
resource.PRIMARY from resource table #5895 (#5911)
Co-authored-by: aias00 <[email protected]>
---
db/upgrade/2.6.1-upgrade-2.7.0-mysql.sql | 6 ------
1 file changed, 6 deletions(-)
diff --git a/db/upgrade/2.6.1-upgrade-2.7.0-mysql.sql
b/db/upgrade/2.6.1-upgrade-2.7.0-mysql.sql
index df100e302f..517bba0184 100755
--- a/db/upgrade/2.6.1-upgrade-2.7.0-mysql.sql
+++ b/db/upgrade/2.6.1-upgrade-2.7.0-mysql.sql
@@ -152,12 +152,6 @@ INSERT INTO `namespace_plugin_rel`
(`id`,`namespace_id`,`plugin_id`, `config`, `
INSERT INTO `namespace_plugin_rel` (`id`,`namespace_id`,`plugin_id`, `config`,
`sort`, `enabled`, `date_created`, `date_updated`) VALUES
('1801816010882822185','649330b6-c2d7-4edc-be8e-8a54df9eb385','8',
'{\"enabled\":false,\"registerType\":\"eureka\",\"serverLists\":\"http://localhost:8761/eureka\",\"props\":
{}}', 200, 0, '2022-05-25 18:02:53.000', '2022-05-25 18:02:53.000');
INSERT INTO `namespace_plugin_rel` (`id`,`namespace_id`,`plugin_id`, `config`,
`sort`, `enabled`, `date_created`, `date_updated`) VALUES
('1801816010882822186','649330b6-c2d7-4edc-be8e-8a54df9eb385','9', NULL, 130,
0, '2022-05-25 18:02:53.000', '2022-05-25 18:02:53.000');
-
-
-INSERT INTO `resource` (`id`, `parent_id`, `title`, `name`, `url`,
`component`, `resource_type`, `sort`, `icon`, `is_leaf`, `is_route`, `perms`,
`status`, `date_created`, `date_updated`)
-VALUES ('1792749362445840479', '1357956838021890048',
'SHENYU.MENU.SYSTEM.MANAGMENT.NAMESPACEPLUGIN', 'namespacePlugin',
'/config/namespacePlugin', 'namespacePlugin', 1, 2, 'build', 0, 0, '', 1,
'2024-06-25 18:02:53.000', '2024-06-25 18:02:53.000');
-
-
INSERT INTO `resource` (`id`, `parent_id`, `title`, `name`, `url`,
`component`, `resource_type`, `sort`, `icon`, `is_leaf`, `is_route`, `perms`,
`status`, `date_created`, `date_updated`) VALUES ('1792749362445840479',
'1357956838021890048', 'SHENYU.MENU.SYSTEM.MANAGMENT.NAMESPACEPLUGIN',
'namespacePlugin', '/config/namespacePlugin', 'namespacePlugin', 1, 2, 'build',
0, 0, '', 1, '2024-06-25 18:02:53.000', '2024-06-25 18:02:53.000');
INSERT INTO `resource` (`id`, `parent_id`, `title`, `name`, `url`,
`component`, `resource_type`, `sort`, `icon`, `is_leaf`, `is_route`, `perms`,
`status`, `date_created`, `date_updated`) VALUES ('1792749362445840480',
'1792749362445840479', 'SHENYU.BUTTON.SYSTEM.LIST', '', '', '', 2, 0, '', 1, 0,
'system:namespacePlugin:list', 1, '2024-06-25 18:02:53.000', '2024-06-25
18:02:53.000');
INSERT INTO `resource` (`id`, `parent_id`, `title`, `name`, `url`,
`component`, `resource_type`, `sort`, `icon`, `is_leaf`, `is_route`, `perms`,
`status`, `date_created`, `date_updated`) VALUES ('1792749362445840481',
'1792749362445840479', 'SHENYU.BUTTON.SYSTEM.DELETE', '', '', '', 2, 1, '', 1,
0, 'system:namespacePlugin:delete', 1, '2024-06-25 18:02:53.000', '2024-06-25
18:02:53.000');