A horrid and nasty hack to get schemamigrations to work