webui
webui copied to clipboard
Bug: `auth`在`mysql`下多次创建admin用户
Describe the bug
auth 会upsert一个id=0的user admin
而mysql默认的auto_increment为1
导致在mysql环境下每次启动都会多一行admin
Steps to reproduce
/
Expected behavior
/
Screenshots
No response
Versions
- OS:
- Platform:
- Node version:
- Koishi version:
Additional context
No response
你是不是没有设置 unique name
你是不是没有设置 unique name
需要手动在数据库设置么?
你是不是没有设置 unique name
需要手动在数据库设置么?
目前看起来是程序里没有自动设置,急用的得先手动一下。