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 non-null violation when inviting people to team #3015

Merged
merged 1 commit into from
Oct 25, 2024

Conversation

b246wang
Copy link
Contributor

What problem does this PR solve?

Not sure why MySQL is inserting empty string in this case, but when I use postgres I got null value in column "invited_by" of relation "user_tenant" violates not-null constraint

Type of change

  • Bug Fix (non-breaking change which fixes an issue)
  • New Feature (non-breaking change which adds functionality)
  • Documentation Update
  • Refactoring
  • Performance Improvement
  • Other (please describe):

Not sure why MySQL is inserting empty string in this case, but when I use postgres I got `null value in column "invited_by" of relation "user_tenant" violates not-null constraint`
@KevinHuSh KevinHuSh merged commit 391b950 into infiniflow:main Oct 25, 2024
2 checks passed
@b246wang b246wang deleted the patch-1 branch October 25, 2024 10:41
Halfknow pushed a commit to Halfknow/ragflow that referenced this pull request Nov 11, 2024
### What problem does this PR solve?

Not sure why MySQL is inserting empty string in this case, but when I
use postgres I got `null value in column "invited_by" of relation
"user_tenant" violates not-null constraint`

### Type of change

- [X] Bug Fix (non-breaking change which fixes an issue)
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.

2 participants