db migration as component, check git status before patch/deploy