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

Ensure xml_hash is not null and stop doing full-text search #843

Open
3 tasks
jnm opened this issue Aug 16, 2022 · 0 comments
Open
3 tasks

Ensure xml_hash is not null and stop doing full-text search #843

jnm opened this issue Aug 16, 2022 · 0 comments
Assignees
Labels

Comments

@jnm
Copy link
Member

jnm commented Aug 16, 2022

  • add data migration
  • enforce uniqueness on xml_hash?
  • get rid of this full-text search:
    existing_instance = Instance.objects.filter(
    Q(xml_hash=xml_hash) | Q(xml_hash=Instance.DEFAULT_XML_HASH, xml=xml),
    xform__user=xform.user,
    ).first()
@jnm jnm self-assigned this Aug 16, 2022
@jnm jnm removed the high priority label Jan 23, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants