Once the custom valuesets have been reformatted to match the internal schema (QUE-48), we need to insert them into the DB. This ticket creates a script that uses the existing functions to insert the custom valuesets into the DB so that they are available for use upon start up.
Acceptance Criteria:
[ ] A TS script has been created that inserts the custom valuesets
[ ] The script checks to see if the custom valuesets have already been inserted; if they have the script exits
[ ] The script is executed at server startup, either added to next.config.js or baked into the CMD in the Dockerfile
[ ] Migrations #3 and #5 are removed from the flyway directory
Once the custom valuesets have been reformatted to match the internal schema (QUE-48), we need to insert them into the DB. This ticket creates a script that uses the existing functions to insert the custom valuesets into the DB so that they are available for use upon start up.
Acceptance Criteria:
next.config.js
or baked into theCMD
in theDockerfile