Move migrations imports into upgrade/downgrade fns