O'Reilly logo

Web Application Development with Yii 2 and PHP by Jeffrey Winesett, Mark Safronov

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Database migrations

Dependency on the database is a hard one. Ideally, your application will not depend on the separate relational database management system (RDBMS) at all. But, most of the time, clients need the applications, which are conceptually just the elaborate CRUD interfaces over the database, so this dependency is inevitable.

The troubles caused with collaborative development are well known. If the application expects the database to be of some structure, and in the process of development a change is made to the code base, which changes some of these expectations, we need to correct the database schema on every machine this code base is currently deployed to. Of course, we should also have some sort of database schema initialization ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required