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

Fix: Duplicate system users are created #858 #859

Merged
merged 3 commits into from
Jan 31, 2021

Conversation

mei23
Copy link
Owner

@mei23 mei23 commented Jan 31, 2021

Summary

Fix #858

.save()SELECT => INSERT/UPDATEなので、重複を許さないものに使ってはいけない。
host: nullでNULLのカラムはUnique制約にかからないので、トランザクション内で確認しないといけない。

@mei23 mei23 merged commit ee41c9f into mei-v11 Jan 31, 2021
@mei23 mei23 deleted the mei-v11-duplicate-system-user branch January 31, 2021 04:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Duplicate system users are created
1 participant