command - How can I run outstanding migrations in laravel4? -
this problem. i have migration 2013_08_25_220444_create_modules_table.php within path : app/modules/user/migrations/ i have created custom artisan command: <?php use illuminate\console\command; use symfony\component\console\input\inputoption; use symfony\component\console\input\inputargument; class usersmodulecommand extends command { /** * console command name. * * @var string */ protected $name = 'users:install'; /** * console command description. * * @var string */ protected $description = 'instala el modulo de usuarios.'; /** * create new command instance. * * @return void */ public function __construct() { parent::__construct(); } /** * execute console command. * * @return void */ public function fire() { echo 'instalando migraciones de usuario...'.php_eol; $this->call('migrate', array('--path' => app_path() . '/modules/user/migrations')); echo 'done.'.php_eol; }...