Skip to content

Commit

Permalink
Merge branch 'release-20.7.3'
Browse files Browse the repository at this point in the history
  • Loading branch information
github-actions committed Oct 6, 2023
2 parents 613fe6a + 8ec06c9 commit f897a00
Show file tree
Hide file tree
Showing 3 changed files with 36 additions and 12 deletions.
6 changes: 0 additions & 6 deletions locales/de-DE/proctoring.rdf.po
Original file line number Diff line number Diff line change
Expand Up @@ -119,9 +119,3 @@ msgstr ""
msgctxt "http://www.w3.org/2000/01/rdf-schema#label"
msgid "Enable"
msgstr ""

# http://www.tao.lu/Ontologies/TAOProctor.rdf#ProctorAdministratorRole
msgctxt "http://www.w3.org/2000/01/rdf-schema#comment"
msgid "The Proctoring Administrator role"
msgstr ""

6 changes: 0 additions & 6 deletions locales/es-ES/proctoring.rdf.po
Original file line number Diff line number Diff line change
Expand Up @@ -119,9 +119,3 @@ msgstr ""
msgctxt "http://www.w3.org/2000/01/rdf-schema#label"
msgid "Enable"
msgstr ""

# http://www.tao.lu/Ontologies/TAOProctor.rdf#ProctorAdministratorRole
msgctxt "http://www.w3.org/2000/01/rdf-schema#comment"
msgid "The Proctoring Administrator role"
msgstr ""

36 changes: 36 additions & 0 deletions migrations/Version202309291445224101_taoProctoring.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
<?php

declare(strict_types=1);

namespace oat\taoProctoring\migrations;

use Doctrine\DBAL\Schema\Schema;
use oat\tao\scripts\SyncModels;
use oat\tao\scripts\tools\migrations\AbstractMigration;

/**
* Auto-generated Migration: Please modify to your needs!
*
* phpcs:disable Squiz.Classes.ValidClassName
*/
final class Version202309291445224101_taoProctoring extends AbstractMigration
{
public function getDescription(): string
{
return 'Update Ontology models';
}

public function up(Schema $schema): void
{
$this->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.'
);
}
}

0 comments on commit f897a00

Please sign in to comment.