CREATE TABLE sys_api_permission
(
    api_id        INTEGER NOT NULL,
    permission_id INTEGER NOT NULL,
    PRIMARY KEY (api_id, permission_id)
);

COMMENT ON COLUMN sys_api_permission.api_id IS 'api ID';
COMMENT ON COLUMN sys_api_permission.permission_id IS '权限id';