made database configuration concurrent to Doctrine