-
Notifications
You must be signed in to change notification settings - Fork 1
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 duplicate search result API #17
Conversation
e52a297
to
070cbc8
Compare
070cbc8
to
3728173
Compare
|
||
class Duplicate(models.Model): | ||
deduplication_set = models.ForeignKey(DeduplicationSet, on_delete=models.CASCADE) | ||
first_reference_pk = models.IntegerField() |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
let's use CharField here. Remote systems can send anything
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done
deduplication_set = models.ForeignKey(DeduplicationSet, on_delete=models.CASCADE) | ||
first_reference_pk = models.IntegerField() | ||
first_filename = models.CharField(max_length=255) | ||
second_reference_pk = models.IntegerField() |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
same as above
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done
No description provided.