./artisan migrate --path="app/database/migrations/ngo"
Mar 23, 2015
8
Level 21
[L5] php artisan migrate --path option
I created migration files in a sub directory in app/database/migrations.
And I was trying to migrate those files with --path option of the migrate command.
But it is not working. It always shows "Nothing to migrate", even though I have files in it.
php artisan migrate --path=ngo
this is how I am running the command.
Does anyone know about it?
Level 27
@SachinAgarwal can you show the directory structure. If the app is installation root then try:
./artisan migrate --path="database/migrations/ngo"
4 likes
Please or to participate in this conversation.