Pull my SQL commit 

I added the new Primary key (ip_address, user_id)

Not tested yet :P