Correcte name for user entityRelation
IP is now nullable in all tables
Corrected spelling of revisionnote
Added remoteeid to primary key for blocked and allowed entities
Created proper composite keys and foreign keys for entity+revision