From 2c818526f9e93d08a6ec4bad3baebe5b74bee617 Mon Sep 17 00:00:00 2001 From: Yaraslau Kavaliou <72205523+yaraslau-kavaliou@users.noreply.github.com> Date: Wed, 25 Oct 2023 11:03:27 +0300 Subject: [PATCH] fix: Set literal range for UpdatedBy resource (#3913) * fix: fixed issue with empty results of searchable dropdowns based on lists. * fix: Set literal range for UpdatedBy resource * feat: Add migration to rdf update --------- Co-authored-by: Vlad Byndych --- migrations/Version202310231538282234_tao.php | 52 ++++++++++++++++++++ models/ontology/tao.rdf | 3 +- 2 files changed, 54 insertions(+), 1 deletion(-) create mode 100644 migrations/Version202310231538282234_tao.php diff --git a/migrations/Version202310231538282234_tao.php b/migrations/Version202310231538282234_tao.php new file mode 100644 index 0000000000..ff0b1f7545 --- /dev/null +++ b/migrations/Version202310231538282234_tao.php @@ -0,0 +1,52 @@ +addReport( + $this->propagate(new SyncModels())([]) + ); + } + + public function down(Schema $schema): void + { + $this->throwIrreversibleMigrationException( + 'The models should be updated via `SyncModels` script after reverting their RDF definitions.' + ); + } +} diff --git a/models/ontology/tao.rdf b/models/ontology/tao.rdf index 26cbdd1754..912b1cba41 100644 --- a/models/ontology/tao.rdf +++ b/models/ontology/tao.rdf @@ -82,13 +82,14 @@ + - +