This PR modifies the schema of the local DOI transaction database to use an assigned DOI value as the primary key or handle for each row written. This takes the responsibility off of the PDS identifier value such that it can be updated when necessary during a DOI submission. The ability to perform the actual update will be included in a future PR.
⚙️ Test Data and/or Report
Unit tests have been modified where necessary to account for the new database schema. Many unit tests from the draft action have been moved to the test suite for the reserve action, as these tests did not provide a DOI value with the input.
tox.log
🗒️ Summary
This PR modifies the schema of the local DOI transaction database to use an assigned DOI value as the primary key or handle for each row written. This takes the responsibility off of the PDS identifier value such that it can be updated when necessary during a DOI submission. The ability to perform the actual update will be included in a future PR.
⚙️ Test Data and/or Report
Unit tests have been modified where necessary to account for the new database schema. Many unit tests from the draft action have been moved to the test suite for the reserve action, as these tests did not provide a DOI value with the input. tox.log
♻️ Related Issues
Partially address #278 fixes #286