Support the ongoing development of Laravel.io →
Installation Configuration

Hello, usually I run migrate command on my host to migrate the database, but after update of laravel 4.2 if I call

   Artisan::call('migrate');

It gives me error

Use of undefined constant STDIN - assumed 'STDIN'

Any one can help me in this.

Last updated 3 years ago.
0

The same in my case

Last updated 3 years ago.
0

Use

Artisan::call('migrate',array('-n'=>true));

Last updated 3 years ago.
0

Sign in to participate in this thread!

Eventy

Your banner here too?

tomc3 tomc3 Joined 2 Jun 2014

Moderators

We'd like to thank these amazing companies for supporting us

Your logo here?

Laravel.io

The Laravel portal for problem solving, knowledge sharing and community building.

© 2025 Laravel.io - All rights reserved.