O'Reilly logo

CodeIgniter 2 Cookbook by Rob Foster

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

Using CodeIgniter database migrations

Imagine that you work in a team of other developers, and everyone is busy working, making changes to the code and the database structure. Keeping up with all of those changes to a database can become a challenge, particularly if many people are working on roughly the same area of the project.

CodeIgniter Migration gives you the option to install (or rollback) the changes of a database structure that might support the changes in the code. For example, if you were working on coding changes for, say, a user registration script—this change requires a column to be added to a database table; you could include a CodeIgniter database migration script with your version control commit (assuming you're using version control)—other ...

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