Pass context to quota migration function