Create table magento module config file

This module create the custom table in the magento database. As the first step enable the module and create the following files.

create_custom_table_magento_module_file_structure

Here I am explaining how to create the config file. Please click here to refer the step by step explanation of how to create custom tables with magento module install script.

<?xml version="1.0"?>
<config>
    <modules>
        <Test_Customtable>
            <version>0.1.0</version>
        </Test_Customtable>
    </modules>
    <global>
        <resources>
            <test_customtable_setup>
                <setup>
                    <module>Test_Customtable</module>
                </setup>
            </test_customtable_setup>
        </resources>
    </global>
</config>

Share this Tutorial