mirror of
https://github.com/fastapi-practices/fastapi-best-architecture.git
synced 2026-09-21 13:12:24 +00:00
Fix menu SQL in mysql SQL scripts (#1096)
This commit is contained in:
@@ -1,5 +1,7 @@
|
||||
set @system_menu_id = (select id from sys_menu where name = 'System');
|
||||
|
||||
insert into sys_menu (title, name, path, sort, icon, type, component, perms, status, display, cache, link, remark, parent_id, created_time, updated_time)
|
||||
values ('notice.menu', 'PluginNotice', '/plugins/notice', 9, 'fe:notice-push', 1, '/plugins/notice/views/index', null, 1, 1, 1, '', null, (select id from sys_menu where name = 'System'), now(), null);
|
||||
values ('notice.menu', 'PluginNotice', '/plugins/notice', 9, 'fe:notice-push', 1, '/plugins/notice/views/index', null, 1, 1, 1, '', null, @system_menu_id, now(), null);
|
||||
|
||||
set @notice_menu_id = LAST_INSERT_ID();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user