/**
  * {@inheritdoc}
  */
 public function up(Schema $schema, QueryBag $queries)
 {
     $this->extension->addVisitEventAssociation($schema, 'orocrm_magento_cart');
     $this->extension->addVisitEventAssociation($schema, 'orocrm_magento_customer');
     $this->extension->addVisitEventAssociation($schema, 'orocrm_magento_order');
     $this->extension->addVisitEventAssociation($schema, 'orocrm_magento_product');
 }
 /**
  * {@inheritdoc}
  */
 public function up(Schema $schema, QueryBag $queries)
 {
     /** Tables generation **/
     $this->createOrocrmCampaignTable($schema);
     $this->createOrocrmCampaignEmailTable($schema);
     $this->createOrocrmEmailCampaignStatisticsTable($schema);
     $this->createOrocrmCampaignTeSummaryTable($schema);
     $this->createOrocrmCmpgnTransportStngsTable($schema);
     $this->updateOrocrmCmpgnTransportStngsTableAddInternalEmailTransport($schema);
     /** Foreign keys generation **/
     $this->addOrocrmCampaignForeignKeys($schema);
     $this->addOrocrmCampaignEmailForeignKeys($schema);
     $this->addOrocrmEmailCampaignStatisticsForeignKeys($schema);
     $this->addOrocrmCampaignTeSummaryForeignKeys($schema);
     $this->addOrocrmCmpgnTransportStngsForeignKeysForInternalTransport($schema);
     $this->extension->addVisitEventAssociation($schema, 'orocrm_campaign');
 }
 /**
  * @param Schema $schema
  */
 protected function addIdentifierEventAssociations(Schema $schema)
 {
     $this->identifierEventExtension->addIdentifierAssociation($schema, 'orocrm_magento_customer');
     $this->visitExtension->addVisitEventAssociation($schema, 'orocrm_magento_cart');
     $this->visitExtension->addVisitEventAssociation($schema, 'orocrm_magento_customer');
     $this->visitExtension->addVisitEventAssociation($schema, 'orocrm_magento_order');
     $this->visitExtension->addVisitEventAssociation($schema, 'orocrm_magento_product');
 }
 /**
  * {@inheritdoc}
  */
 public function up(Schema $schema, QueryBag $queries)
 {
     $this->extension->addVisitEventAssociation($schema, 'orocrm_campaign');
 }