/** * {@inheritdoc} */ public function up(Schema $schema, QueryBag $queries) { /** Tables generation **/ $this->createOrocrmCallTable($schema); $this->createOrocrmCallDirectionTable($schema); $this->createOrocrmCallStatusTable($schema); /** Foreign keys generation **/ $this->addOrocrmCallForeignKeys($schema); $this->comment->addCommentAssociation($schema, 'orocrm_call'); }
/** * {@inheritdoc} */ public function up(Schema $schema, QueryBag $queries) { /** Tables generation **/ $this->createOrocrmTaskTable($schema); $this->createOrocrmTaskPriorityTable($schema); /** Foreign keys generation **/ $this->addOrocrmTaskForeignKeys($schema); /** Add comment relation */ $this->comment->addCommentAssociation($schema, 'orocrm_task'); AddActivityAssociations::addActivityAssociations($schema, $this->activityExtension); }
/** * {@inheritdoc} */ public function up(Schema $schema, QueryBag $queries) { $this->comment->addCommentAssociation($schema, 'orocrm_task'); }
/** * @param Schema $schema * @param CommentExtension $commentExtension */ public static function addCommentToNote(Schema $schema, CommentExtension $commentExtension) { $commentExtension->addCommentAssociation($schema, 'oro_note'); }