eye-gu commented on code in PR #6162:
URL: https://github.com/apache/shenyu/pull/6162#discussion_r2355264796


##########
db/init/oracle/schema.sql:
##########
@@ -3634,19 +3634,19 @@ COMMENT ON COLUMN registry_config.registry_group IS 
'group';
 COMMENT ON COLUMN registry_config.date_created IS 'create time';
 COMMENT ON COLUMN registry_config.date_updated IS 'update time';
 
-INSERT /*+ IGNORE_ROW_ON_DUPKEY_INDEX(resource(id)) */ INTO resource (id, 
parent_id, title, name, url, component, resource_type, sort, icon, is_leaf, 
is_route, perms, status, date_created, date_updated)
-VALUES ('1953048313980116900', '1357956838021890048', 
'SHENYU.MENU.SYSTEM.MANAGMENT.REGISTRY', 'registry', '/config/registry', 
'registry', 1, 7, 'ordered-list', 0, 0, '', 1, '2025-08-06 17:00:00.000', 
'2025-08-06 17:00:00.000');
-INSERT /*+ IGNORE_ROW_ON_DUPKEY_INDEX(resource(id)) */ INTO resource (id, 
parent_id, title, name, url, component, resource_type, sort, icon, is_leaf, 
is_route, perms, status, date_created, date_updated)
-VALUES ('1953048313980116901', '1953048313980116900', 
'SHENYU.BUTTON.SYSTEM.ADD', '', '', '', 2, 0, '', 1, 0, 'system:registry:add', 
1, '2025-08-06 17:00:00.000', '2025-08-06 17:00:00.000');
-INSERT /*+ IGNORE_ROW_ON_DUPKEY_INDEX(resource(id)) */ INTO resource (id, 
parent_id, title, name, url, component, resource_type, sort, icon, is_leaf, 
is_route, perms, status, date_created, date_updated)
-VALUES ('1953048313980116902', '1953048313980116900', 
'SHENYU.BUTTON.SYSTEM.LIST', '', '', '', 2, 1, '', 1, 0, 
'system:registry:list', 1, '2025-08-06 17:00:00.000', '2025-08-06 
17:00:00.000');
-INSERT /*+ IGNORE_ROW_ON_DUPKEY_INDEX(resource(id)) */ INTO resource (id, 
parent_id, title, name, url, component, resource_type, sort, icon, is_leaf, 
is_route, perms, status, date_created, date_updated)
-VALUES ('1953048313980116903', '1953048313980116900', 
'SHENYU.BUTTON.SYSTEM.DELETE', '', '', '', 2, 2, '', 1, 0, 
'system:registry:delete', 1,'2025-08-06 17:00:00.000', '2025-08-06 
17:00:00.000');
-INSERT /*+ IGNORE_ROW_ON_DUPKEY_INDEX(resource(id)) */ INTO resource (id, 
parent_id, title, name, url, component, resource_type, sort, icon, is_leaf, 
is_route, perms, status, date_created, date_updated)
-VALUES ('1953048313980116904', '1953048313980116900', 
'SHENYU.BUTTON.SYSTEM.EDIT', '', '', '', 2, 3, '', 1, 0, 
'system:registry:edit', 1, '2025-08-06 17:00:00.000', '2025-08-06 
17:00:00.000');
-
-INSERT INTO permission (id, role_id, resource_id, date_created, date_updated) 
VALUES ('1953049887387303901', '1346358560427216896', '1953048313980116900', 
sysdate, sysdate);
-INSERT INTO permission (id, role_id, resource_id, date_created, date_updated) 
VALUES ('1953049887387303902', '1346358560427216896', '1953048313980116901', 
sysdate, sysdate);
-INSERT INTO permission (id, role_id, resource_id, date_created, date_updated) 
VALUES ('1953049887387303903', '1346358560427216896', '1953048313980116902', 
sysdate, sysdate);
-INSERT INTO permission (id, role_id, resource_id, date_created, date_updated) 
VALUES ('1953049887387303904', '1346358560427216896', '1953048313980116903', 
sysdate, sysdate);
-INSERT INTO permission (id, role_id, resource_id, date_created, date_updated) 
VALUES ('1953049887387303905', '1346358560427216896', '1953048313980116904', 
sysdate, sysdate);
\ No newline at end of file
+INSERT /*+ IGNORE_ROW_ON_DUPKEY_INDEX(resource(id)) */ INTO "resource" (id, 
parent_id, title, name, url, component, resource_type, sort, icon, is_leaf, 
is_route, perms, status, date_created, date_updated)
+VALUES ('1953048313980116900', '1357956838021890048', 
'SHENYU.MENU.SYSTEM.MANAGMENT.REGISTRY', 'registry', '/config/registry', 
'registry', 1, 7, 'ordered-list', 0, 0, '', 1, to_timestamp('2025-08-06 
17:00:00.000', 'YYYY-MM-DD HH24:MI:SS.FF3'), to_timestamp('2025-08-06 
17:00:00.000', 'YYYY-MM-DD HH24:MI:SS.FF3'));

Review Comment:
   And the timestamp field before was also insert through this function



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to