Carry out the following steps:
In our block directory, create a new file named
db.xml
; that's everything we'll need.In this file, you have to add a hierarchical structure of tables and columns. The whole content of the file should look like the following:
<?xml version="1.0"?> <schema version="0.3"> <table name="btProductInformation"> <field name="bID" type="I"> <key /> <unsigned /> </field> <field name="title" type="C" size="255"></field> <field name="description" type="X2"></field> <field name="fIDpicture" type="I"></field> </table> </schema>