CREATE TABLE sys_menu_permission
(
    menu_id       INTEGER NOT NULL,
    permission_id INTEGER NOT NULL,
    PRIMARY KEY (menu_id, permission_id)
);

COMMENT ON COLUMN sys_menu_permission.menu_id IS '菜单id';
COMMENT ON COLUMN sys_menu_permission.permission_id IS '权限id';