better migration strategy, now smarter and won't try to re-run migrations each time