contao/import — Issue #3281: Hooks in DbInstaller.php
Author: Toflar
Created: 2011-11-29 21:16:34+00:00
State: open
Labels: Feature, framework

Hi Leo

Now that we have the database manipulation all centralized in one class, it would be very useful to extend it with some hooks.
E.g. Isotope provides the feature of adding your own attributes to the database and for now they have to modify the database.sql dynamically to protect the users from deleting their attribute columns accidentally.
Same applies for the Catalog as well.

I attached a patch - it's really simple but might be very useful

![](

Thx) =)

[Download the attachments](http://www.contao.org/tl_files/tickets/3281.zip "Download the attachments of this ticket")

--- _Originally created on July 19th, 2011, at 10:23am (ID 3281)_