dbdeploy in phing (which in turn is a copy of dbdeploy for ant) does something really similar. Except that the migrations are called -.sql :)