I'm working on laravel4.2
I created a migration file as:
Code: Select all
php artisan migrate:make create_sample_group --create=sample_group --path=app/database/migrations/illumina/
After running the migrate command, I can see file as 2015_12_09_084943_create_sample_group.php
That is today's name, etc
I make a, b, c changes for column names in it. And would like to create respective table which can be done by:
Code: Select all
artisan migrate
My database.php looks like:
Code: Select all
'default' => 'alpha',
'connections' => array(
'alpha' => array(
'driver' => 'mysql',
'host' => 'localhost',
'database' => 'alpha_1',
'username' => 'root',
'password' => '',
'charset' => 'utf8',
'collation' => 'utf8_unicode_ci',
'prefix' => '',
),
'pqr_1' => array(
'driver' => 'mysql',
'host' => 'localhost',
'database' => 'pqr',
'username' => 'root', //
'password' => '',
'charset' => 'utf8',
'collation' => 'utf8_unicode_ci',
'prefix' => '',
),
//and so on multiple databases
////
)
I don't see documentation of it at
http://laravel.com/docs/4.2/migrations# ... migrations
Looking forward for guidance.