Closed youngerrainbow closed 7 years ago
$this->loadMigrationsFrom(realpath(__DIR__.'/database/migrations'), 'langfilemanager');
i fix this add above code to serviceprovider
That's a good fix, thanks.
But I think a better solution would be to NOT instruct people to run the migrations directly from the package, but allow (and instruct) them to publish the migration, then run php artisan migrate
. This would prevent the problem above AND would also make sure developers commit the migration to their repository and push it to their test/production env.
@Ghitu , right?
@tabacitu I agree
I'm currently seeing this issue, but I'm a little confused as to where I would add @youngerrainbow 's fix.
@Ghitu @tabacitu What is the fix here?
In the absence of a fix (and no-one complaining) I'm closing this.
php artisan migrate:refresh will show error Undefined index: 2015_09_10_124414_alter_languages_table