manifestinteractive/easyapns — pull request #22 by NiNJAPiND (2012-04-04 00:21:04+00:00)
Title: When your app will update, there are some bugs. when iphone 

register itself, sql has duplicate record:
1 "appname" 1.1 myiphone (1.1 is the appversion)
2 "appname" 1.2 myiphone

so notifications will be sent twice to "myiphone" device.

to resolve this, remove PRIMARY UNIQUE KEY into sql - appversion
record