Add migration for ref on PR event