Ejemplo n.º 1
0
 /**
  * Update oro_integration_transport table.
  *
  * @param Schema $schema
  * @throws \Doctrine\DBAL\Schema\SchemaException
  */
 protected function updateIntegrationTransportTable(Schema $schema)
 {
     IntegrationUpdate::updateOroIntegrationTransportTable($schema);
     $table = $schema->getTable('oro_integration_transport');
     $table->addColumn('admin_url', 'string', ['notnull' => false, 'length' => 255]);
 }
 /**
  * Update oro_integration_transport table.
  *
  * @param Schema $schema
  * @throws \Doctrine\DBAL\Schema\SchemaException
  */
 protected function updateIntegrationTransportTable(Schema $schema)
 {
     IntegrationUpdate::updateOroIntegrationTransportTable($schema);
     $table = $schema->getTable('oro_integration_transport');
     $table->addColumn('admin_url', 'string', ['notnull' => false, 'length' => 255]);
     $table->addColumn('initial_sync_start_date', 'datetime', ['notnull' => false]);
     $table->addColumn('extension_version', 'string', ['notnull' => false, 'length' => 255]);
     $table->addColumn('magento_version', 'string', ['notnull' => false, 'length' => 255]);
     $table->addColumn('guest_customer_sync', 'boolean', ['notnull' => false]);
 }