Config Setup Definition (EAV & Flat)

Updated . Posted . Visible to the public.

EAV:

<config>
    <global>
        <resources>
            <namespace_module_setup>
                <setup>
                    <module>Namespace_Module</module>
                    <class>Mage_Eav_Model_Entity_Setup</class>
                </setup>
            </namespace_module_setup>
        </resources>
    </global>
</config>

Flat:

<config>
    <global>
        <resources>
            <namespace_module_setup>
                <setup>
                    <module>Namespace_Module</module>
                    <class>Mage_Core_Model_Resource_Setup</class>
                </setup>
            </namespace_module_setup>
        </resources>
    </global>
</config>
Mike Whitby
Last edit
Mike Whitby
Keywords
config.xml
Posted by Mike Whitby to Magento (2012-02-15 15:34)