DbPatch is a commandline utility written in PHP to manage/track sql/php patch files.