N°7044 - Update installer to move "language" attribute to ActionNotification class (iTop 3.2.0 min)

This commit is contained in:
Molkobain
2024-02-21 15:38:31 +01:00
parent 7c17957ec7
commit 478afb88e3

View File

@@ -73,7 +73,7 @@ if (!class_exists('StructureInstaller'))
SetupLog::Info("| Migrate ActionEmail language attribute values to its parent.");
$sTableToRead = MetaModel::DBGetTable('ActionEmail');
$sTableToSet = MetaModel::DBGetTable('ActionNotification');
self::MoveColumnInDB($sTableToRead, 'language', $sTableToSet, 'language');
self::MoveColumnInDB($sTableToRead, 'language', $sTableToSet, 'language', true);
SetupLog::Info("| ActionEmail migration done.");
}
// If you want to migrate data from one format to another, do it here