diff --git a/Setup/InstallData.php b/Setup/InstallData.php deleted file mode 100644 index a8db474706e1ad2e2ca504bd4480b3d74e2bc52f..0000000000000000000000000000000000000000 --- a/Setup/InstallData.php +++ /dev/null @@ -1,34 +0,0 @@ -<?php - -namespace BobGroup\BobGo\Setup; - -use Magento\Framework\Setup\InstallDataInterface; -use Magento\Framework\Setup\ModuleContextInterface; -use Magento\Framework\Setup\ModuleDataSetupInterface; -use Magento\Eav\Setup\EavSetupFactory; - -class InstallData implements InstallDataInterface -{ - private $eavSetupFactory; - - public function __construct(EavSetupFactory $eavSetupFactory) - { - $this->eavSetupFactory = $eavSetupFactory; - } - - public function install(ModuleDataSetupInterface $setup, ModuleContextInterface $context) - { - $eavSetup = $this->eavSetupFactory->create(['setup' => $setup]); - - $eavSetup->addAttribute( - \Magento\Sales\Model\Order::ENTITY, - 'weight_unit', - [ - 'type' => 'varchar', - 'length' => 255, - 'nullable' => true, - 'comment' => 'Weight Unit', - ] - ); - } -}