-
-
Notifications
You must be signed in to change notification settings - Fork 876
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
Add unique constraint for column activity.ap_id #1878
Labels
Comments
I think this already exists:
|
I tried and was able to insert duplicate values without any problem. Btw, another thing I would like to do is change community.public_key into |
Closed
dessalines
added a commit
that referenced
this issue
Nov 22, 2021
dessalines
added a commit
that referenced
this issue
Nov 22, 2021
dessalines
added a commit
that referenced
this issue
Nov 23, 2021
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Then remove function
is_activity_already_known()
. No need to make a separate query and check in Rust, when we can simply rely on db constraints. The migration needs to delete any existing, duplicate values first.The text was updated successfully, but these errors were encountered: