- getMetadataForDoi and updateMetadataForDoi in DoiClient.php

- doi_datacite.xslt: show Subtitle
- further tests in DoiClientTest.php
- DoiController.php: safe DOI metadta in table dataset_identifiers
This commit is contained in:
Arno Kaimbacher 2021-03-01 16:04:02 +01:00
parent 9b6a6469d7
commit 8f0b12fbf0
6 changed files with 141 additions and 57 deletions

View file

@ -19,7 +19,7 @@ class CreateDatasetIdentifiersTable extends Migration
// foreign key to: documents.id
$table->integer('dataset_id')->unsigned();
;
$table->foreign('dataset_id')->references('id')->on('documents')
->onUpdate('cascade')->onDelete('cascade');
@ -34,8 +34,6 @@ class CreateDatasetIdentifiersTable extends Migration
'status',
['draft', 'registered', 'findable']
)->nullable();
// timestamp of DOI registration
$table->timestamp('registration_ts');
$table->timestamps();
});
}