Generate a schema file for Laravel migration with a MySQL database.
#Laravel4 Schemad Migrations
This will generate a schema.php file in your app/database/migrations file based on your current database schema. This only works with MySQL. When your run php artisan migrate it will automatically generate the schema file for you after the migrations have run.
This code is based off of http://laravelsnippets.com/snippets/convert-an-existing-mysql-database-to-migrations by michaeljcalkins
Modify your config/app.php and update the providers to:
Comment out the following line:
Add in the following line: