g Pledge model and migrate