The code uses a promoid database column, but none is created by the install file. So far as I can tell, the column should be serial (that is, auto-increment), and should be the primary key. The attached patch modifies the install file so it creates the column.

CommentFileSizeAuthor
promos_add_id_field.patch976 bytesSid_M

Comments

justindodge’s picture

Status: Needs review » Fixed

Thanks for catching that, patch has been committed to 6.x-dev

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.