tidewater: add a database field for a persistent identifier
We expect that the JSON response for a given item in superskunk will include an @id
field, which will correspond to a UNIQUE identifier that should be used to identify the corresponding OaiItem
.
This will be used by the tidewater consumer, per #949 (closed) for persistence related needs such as deciding to update/insert/delete an OaiItem
given a RabbitMQ message.
Acceptance Criteria:
-
A database migration is added which results in a new field named
source_iri
-
A test written to confirm this field is written into the database but NOT
in the
oai_dc
output.