Mercury interview question

Refactor database schema of pull request