⚠️ [ABANDONED] Rinvex Attributable is a robust, intelligent, and integrated Entity-Attribute-Value model (EAV) implementation for Laravel Eloquent, with powerful underlying for managing entity attributes implicitly as relations with ease. It utilizes the power of Laravel Eloquent, with smooth and seamless integration.
MIT License
433
stars
104
forks
source link
Can not override tablename of attribute_entity in config #77
I'm trying to override the tablenames with the provided config file. This seems to work for all the tables, except for the attribute_entity table.
When I check the AttributeEntity model, the tablename is hardcoded.
protected $table = 'attribute_entity';
In the other models, like Atribute, the tablename is set dynamically in the constructor.
$this->setTable(config('rinvex.attributes.tables.attributes'));
This means that I cannot override the tablename of the attribute_entity table in the config, even though the config does have an entry for this table: