cancel
Showing results for 
Search instead for 
Did you mean: 

Magento 2 Customer Additional Attribute Table Issue

Magento 2 Customer Additional Attribute Table Issue

Hey guys,

We're having an odd issue with our Magento 2 install where it seems to have dropped from the model what table to use for customer additional attributes

 

The main "Customer model" in code is now looking like this

(
    [entity_type_id] => 2
    [entity_type_code] => customer
    [entity_model] => Magento\Customer\Model\ResourceModel\Customer
    [attribute_model] => Magento\Customer\Model\Attribute
    [entity_table] => customer_entity
    [value_table_prefix] => 
    [entity_id_field] => 
    [is_data_sharing] => 1
    [data_sharing_key] => default
    [default_attribute_set_id] => 2
    [increment_model] => 
    [increment_per_store] => 0
    [increment_pad_length] => 8
    [increment_pad_char] => 0
    [additional_attribute_table] => 
    [entity_attribute_collection] => Magento\Customer\Model\ResourceModel\Attribute\Collection
)

which is a real problem, as you can see the "additional_attribute_table" value is empty, which is shouldnt be - im just wondering if you guys know where this is set at all? I'm guessing either database or in an xml file though no idea where.