getmoneynote / moneynote-api

Personal Finance Tracker

Home Page:https://help.moneynote.com

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

BUG-删除组时报错

mingself opened this issue · comments

操作:
新增了一个组并设置为默认, 删除原来的默认组

分组管理-删除时报错:

报错信息:

{
    "success": false,  
    "message": "Cannot delete or update a parent row: a foreign key constraint fails (`moneywhere_demo`.`t_user_group`, CONSTRAINT `FK1cer3g2fde5x4dufbx6x265p3` FOREIGN KEY (`default_book_id`) REFERENCES `t_user_book` (`id`))",  
    "code": 409,  
    "showType": 2
}

报错截图
image

commented

已解决