Fixed ORM issues of donor codes (#136)

git
Fixed ORM issues of donor codes(#136)