added dependencies for toMany in local database