#JC-1422
Added version field to the User entity for the optimistic locking purposes and SQL-migration with VERSION column for this field.