[code] setup doctrine