Fixed post-checkout script that ignored database changes