Change all migration to be dynamic.