News Feed
Jobs Feed
Sections




News Archive
Looking for more information on how to do PHP the right way? Check out PHP: The Right Way

PHPMaster.com:
Artisan and Laravel Migrations
August 28, 2012 @ 08:38:08

PHPMaster.com has continued their series about the Laravel framework today with this new tutorial they show you how to use the command line tool Artisan to work with database migrations.

For those who struggle with maintaining their database schema, or who have problems applying updates and often revert them, there is a solution. Laravel, the MVC framework which I wrote about previously, offers you migrations.

On the surface, the migrations are simple sets of "up" and "down" methods that allow you to apply and remove the changes required for the migration. It also allows you to perform a "rollback" on the updates just made and a "reset" to clear out all changes and start over from the base. There's also a shortcut to help generate migration code from a configuration string.

0 comments voice your opinion now!
laravel migration framework database tutorial


blog comments powered by Disqus

Similar Posts

PHPFive.net: Creating a dynamic Google sitemap using the PHP5 SimpleXML extension

Zachary Burnham's Blog: Code: Setting up unit testing in Zend Framework with multiple databases

Jonathan Snook's Blog: Building a URL Shortener (with CakePHP)

PHPMaster.com: Patterns for Flexible View Handling, Part 2 - Using Decorators

Ryan Malesevich's Blog: WP Plugins: Database Backup


Community Events











Don't see your event here?
Let us know!


code application podcast security release language composer introduction install hack hhvm component overview support facebook opinion framework package unittest symfony2

All content copyright, 2014 PHPDeveloper.org :: info@phpdeveloper.org - Powered by the Solar PHP Framework