Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bug: 在同一个实例上跑不同平台的 bot 产生了无法插入数据库的情况 #484

Closed
Anillc opened this issue Jan 24, 2022 · 1 comment

Comments

@Anillc
Copy link
Member

Anillc commented Jan 24, 2022

Describe the bug

image

koishi 在往数据库中插入用户时对当前平台以外的平台使用了 '' 作为填充值,与数据库模型中的 unique 发生冲突

Steps to reproduce

在同一个实例上跑不同平台的 bot

Expected behavior

正常插入数据库

Screenshots

No response

Versions

  • OS: ubuntu container (host: NixOS)
  • Backend service: go-cqhttp 1.0.0-beta8-fix2
  • Node version: 17.4.0
  • Koishi version: 4.1.0

Additional context

No response

@Anillc Anillc added the bug BUG label Jan 24, 2022
@shigma
Copy link
Member

shigma commented Jan 24, 2022

regression of 706b828

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants