migrations and erbs