laravel-acl
laravel-acl copied to clipboard
Laravel 5.2 migrate:reset error
Hello I have a problem running migrations, when I first migrate, everything was normal, but when I tried to reset the migration it returns
[Symfony\Component\Debug\Exception\FatalErrorException]
Class 'BigintUserKeys' not found
So, I saw all classes are present in my project and folders but looks like kodeine doesn't found the migration classes at all... Please help This is the error
[2016-05-13 18:02:16] local.ERROR: exception 'Symfony\Component\Debug\Exception\FatalErrorException' with message 'Class 'BigintUserKeys' not found' in D:\wamp64\www\smarttrack\vendor\laravel\framework\src\Illuminate\Database\Migrations\Migrator.php:336
Stack trace:
#0 {main}
this is the related code:
public function resolve($file)
{
$file = implode('_', array_slice(explode('_', $file), 4));
$class = Str::studly($file);
return new $class;
}
@hackerunet hmm this is weird, how can i redo what you did to get this error? i need to test at my end.
just use it with rethinkdb driver. I'm testing again from scratch, if I reproduce this error I'll update the issue. Also one question, after I use kodeine do I have to abandon any laravel Auth implementation? does kodeine support requests validations and authorizations as native laravel Auth? I'm asking because just for curiosity I did make:auth and I got all Auth views, models and controllers but then when I attempted to login I received a conflicting trait error. So not sure how to use kodeine and make really safe my application without using laravel Auth