Erfan Imani

I'm Erfan – a full-stack Magento developer and consultant living in Perth, Australia. I'm the organiser of Western Australia's Magento meetup. At the moment I'm helping to take Pacvac, a leading manufacturer of backpack vacuums, into the digital age with a direct to consumer approach.

Get in touch with me here.

Magento Certified Frontend Developer Magento Certified Developer Magento 2 Associate Developer Magento 2 Professional Developer Magento 2 Solution Specialist

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',…...