Programming Language PHP
Namespace Oro\Bundle\CaseBundle\Migrations\Schema\v1_7
Class InheritanceActivityTargets
Method/Function addInheritanceTargets
Total Examples 1
1 code examples of PHP Oro\Bundle\CaseBundle\Migrations\Schema\v1_7\InheritanceActivityTargets::addInheritanceTargets extracted from open source projects
/**
* @inheritdoc
*/
public function up(Schema $schema, QueryBag $queries)
{
/** Tables generation **/
$this->createOrocrmCaseTable($schema);
$this->createOrocrmCaseSourceTable($schema);
$this->createOrocrmCaseSourceTranslationTable($schema);
$this->createOrocrmCaseStatusTable($schema);
$this->createOrocrmCaseStatusTranslationTable($schema);
$this->createOrocrmCasePriorityTable($schema);
$this->createOrocrmCasePriorityTranslationTable($schema);
$this->createOrocrmCaseCommentTranslationTable($schema);
/** Tables update */
$this->addOroEmailMailboxProcessSettingsColumns($schema);
/** Foreign keys generation **/
$this->addOrocrmCaseForeignKeys($schema);
$this->addOrocrmCaseCommentForeignKeys($schema);
$this->addOroEmailMailboxProcessSettingsForeignKeys($schema);
$this->addActivityAssociations($schema);
InheritanceActivityTargets::addInheritanceTargets($schema, $this->activityListExtension);
}