コード例 #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');
 }
コード例 #2
0
 /**
  * {@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);
 }
コード例 #3
0
ファイル: OroCRMTaskBundle.php プロジェクト: antrampa/crm
 /**
  * {@inheritdoc}
  */
 public function up(Schema $schema, QueryBag $queries)
 {
     $this->comment->addCommentAssociation($schema, 'orocrm_task');
 }
コード例 #4
0
ファイル: OroCommentBundle.php プロジェクト: Maksold/platform
 /**
  * @param Schema           $schema
  * @param CommentExtension $commentExtension
  */
 public static function addCommentToNote(Schema $schema, CommentExtension $commentExtension)
 {
     $commentExtension->addCommentAssociation($schema, 'oro_note');
 }