Add migration example, closes #1