quickapps / cms

Modular CMS powered by CakePHP
GNU General Public License v3.0
164 stars 69 forks source link

The eav_attributes table #195

Open LeLuyen opened 6 years ago

LeLuyen commented 6 years ago

Hi Chris,

When i deleted the content type, the records in the eav_attributes table are not delete.

Please confirm and fix.

Thanks you!

botchris commented 6 years ago

I believe this is the expected behaviour, as deletion of virtual attributes definition would break every existing content using such attributes.

However, I think this behaviour can be improved. For instance, delete virtual properties definition if and only if there are no contents using them.