Magento database model without an auto_increment primary key
August 3rd, 2010
When you create a model in Magento that reads and writes data ( $model->load() and $model->save() ) to a database table, by default, Magento expects the primary key of the table to be an auto_increment field called ‘id’. If you want to use a primary key that is not an auto_increment field then you need to [...]