什么php框架有数据库迁移支持?

I'm looking for a good php framework with support for handling database migrations. Ideally I would like to be able to run a command that generates a migration script, one that updates the database with changes and can handle rolling back those changes. Is there anything out there that does this?

The Doctrine project supports migrations - http://www.doctrine-project.org/projects/migrations/2.0/docs/reference/introduction/en

Hmm, that documentation is a bit lacking, at least in the introduction. Hopefully it gets better as it goes on.

Whilst most popular in Symfony, this can easily be integrated into other frameworks or even used on its own.

symfony - http://www.symfony-project.org/ In symfony you can write database schema using ORM like Propel, it is independant from database driver. If you have a database already, you want to migrate to a different db, I think you can dump the db, change the db config, and re-import it to the new db. (though I have not tried it myself.)

There are much php framework over there that can use any database. For example Zend, Ci, Cake and many others. One thing you should do is change database type that's usually stored in configuration file. And then migrate your database manually. No framework that can generate migration script automatically. U can also use ESF for database migration

Promising, but not yet have a stable version : https://github.com/fuel/fuel

There is a new php framework called Laravel and it has migrations the same way as ruby on rails. It seems so pretty!

You can find it at http://laravel.com/

Migrations Docs

In addition, the framework introduces the idea of bundles, what can give to your project a great modular view.

If you try it, tell us your experience! :)