-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: Neo4j - impossible to save or author passage due to language pro…
…perty erased when "Save" button is clicked in "Edit Passage Properties"
- Loading branch information
Makar Sichevoi
committed
Nov 17, 2023
1 parent
d543f29
commit 6d64da9
Showing
2 changed files
with
33 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
<?php | ||
|
||
declare(strict_types=1); | ||
|
||
namespace oat\taoMediaManager\migrations; | ||
|
||
use Doctrine\DBAL\Schema\Schema; | ||
use oat\tao\scripts\tools\migrations\AbstractMigration; | ||
use oat\tao\scripts\update\OntologyUpdater; | ||
|
||
/** | ||
* Auto-generated Migration: Please modify to your needs! | ||
* | ||
* phpcs:disable Squiz.Classes.ValidClassName | ||
*/ | ||
final class Version202311171021031888_taoMediaManager extends AbstractMigration | ||
{ | ||
public function getDescription(): string | ||
{ | ||
return 'Changed http://www.tao.lu/Ontologies/TAOMedia.rdf#Language is_language_dependent to False'; | ||
} | ||
|
||
public function up(Schema $schema): void | ||
{ | ||
OntologyUpdater::syncModels(); | ||
} | ||
|
||
public function down(Schema $schema): void | ||
{ | ||
// do nothing | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters