Hopefully the last migration fix for pg