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 Application urn #258

Closed
wants to merge 6 commits into from
Closed

Fix Application urn #258

wants to merge 6 commits into from

Conversation

fumimowdan
Copy link
Contributor

Description

Change how the application urn is generated.
This implementation rely on a new DB sequence urn_sequence assign to applications.urn_suffix and 2 other columns urn_prefix defaulting to "IRP" and urn_code which depends on the application route.

Previous implementation did not guaranty uniqueness.

The URN is used as an ID type for Home Office csv however this class
that does not generate urn with unique urn.
The SubmitForm service creates an application when users submit their
forms. So we only have submitted applications and having the
distinction between not_submitted and submitted application is not
relevant anymore.
@fumimowdan fumimowdan marked this pull request as draft September 18, 2023 13:43
* create sequence
* migration
@fumimowdan fumimowdan closed this Sep 19, 2023
@fumimowdan fumimowdan deleted the fix/urn branch September 19, 2023 10:18
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.

1 participant