diff --git a/app/code/Magento/Customer/Setup/UpgradeData.php b/app/code/Magento/Customer/Setup/UpgradeData.php index 6c6e32e92ebe0..7f43ee046bdd2 100644 --- a/app/code/Magento/Customer/Setup/UpgradeData.php +++ b/app/code/Magento/Customer/Setup/UpgradeData.php @@ -269,19 +269,19 @@ public function upgrade(ModuleDataSetupInterface $setup, ModuleContextInterface $customerSetup->updateAttribute( 'customer_address', 'country_id', - 'source', + 'source_model', 'Magento\Customer\Model\ResourceModel\Address\Attribute\Source\Country' ); $customerSetup->updateAttribute( 'customer_address', 'region', - 'backend', + 'backend_model', 'Magento\Customer\Model\ResourceModel\Address\Attribute\Backend\Region' ); $customerSetup->updateAttribute( 'customer_address', 'region_id', - 'source', + 'source_model', 'Magento\Customer\Model\ResourceModel\Address\Attribute\Source\Region' ); }