Added unique key on `entry_id`

This is to prevent things described here: https://github.com/symphonycms/symphony-2/pull/1917

I made it version 2.4 since it's kind of a big deal.