add foreign key 'user' to entry relation'