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

[TASK] Add status column to records table #5058

Closed
Tracked by #5000
jfcalvo opened this issue Jun 19, 2024 · 0 comments · Fixed by #5132
Closed
Tracked by #5000

[TASK] Add status column to records table #5058

jfcalvo opened this issue Jun 19, 2024 · 0 comments · Fixed by #5132
Assignees

Comments

@jfcalvo
Copy link
Member

jfcalvo commented Jun 19, 2024

We should add status column to records table with the following details:

  • Possible values for this status column are pending and completed.
  • This new column will be non-nullable.
  • It will have a database index so it will be faster to recover records with one specific status value.
  • By default the status column will have the pending value. (Showing that the record is still pending of being annotated).
  • Existent old records will be migrated in the following way:
    • Records with a least one response with submitted status will be updated from pending to completed.
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 a pull request may close this issue.

1 participant