Hi there.

I'm Erfan - a full-stack Magento developer and consultant living in Perth, Australia. I'm the organiser of Western Australia's Magento meetup and at the moment I'm working at SPEQS, a startup that will revolutionise how people buy eyewear online.

You can check out my blog below, or get in touch with me here.


For some reason, there are two different database table API’s - it seems one is for creating new tables, and the other for modifying existing tables. When you do $installer->getConnection()->newTable() you get an instance of Varien_Db_Ddl_Table. Its addColumn method signature looks like this: $table->addColumn('id',…...