[s1887] Fix broken SQL revision and proper update git_id