Fix the GORM example

This seems to be a change in the GORM api