Ejemplo n.º 1
0
 /**
  * {@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);
 }
Ejemplo n.º 3
0
 /**
  * {@inheritdoc}
  */
 public function up(Schema $schema, QueryBag $queries)
 {
     $this->comment->addCommentAssociation($schema, 'orocrm_task');
 }
Ejemplo n.º 4
0
 /**
  * @param Schema           $schema
  * @param CommentExtension $commentExtension
  */
 public static function addCommentToNote(Schema $schema, CommentExtension $commentExtension)
 {
     $commentExtension->addCommentAssociation($schema, 'oro_note');
 }