Replace SQL log patch to one generated by `git format-patch`