for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
/**
* TechDivision\Import\Setup\UpgradeSchema
*
* NOTICE OF LICENSE
* This source file is subject to the Open Software License (OSL 3.0)
* that is available through the world-wide-web at this URL:
* http://opensource.org/licenses/osl-3.0.php
* PHP version 5
* @author Tim Wagner <[email protected]>
* @copyright 2016 TechDivision GmbH <[email protected]>
* @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
* @link https://github.com/techdivision/import-cli-magento
* @link http://www.techdivision.com
*/
namespace TechDivision\Import\Setup;
use Magento\Framework\Setup\UpgradeDataInterface;
use Magento\Framework\Setup\ModuleContextInterface;
use Magento\Framework\Setup\ModuleDataSetupInterface;
* Upgrade data setup functionality.
* @codeCoverageIgnore
class UpgradeData implements UpgradeDataInterface
{
* Installs DB schema for the module.
* @param \Magento\Framework\Setup\SchemaSetupInterface $setup The setup instance
* @param \Magento\Framework\Setup\ModuleContextInterface $context The module context instance
* @return void
public function upgrade(ModuleDataSetupInterface $setup, ModuleContextInterface $context)
// start setup
$setup->startSetup();
// finish setup
$setup->endSetup();
}