-
Notifications
You must be signed in to change notification settings - Fork 386
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Orangehill\Iseed\TableNotFoundException on existing table #183
Comments
the database/seeds directory has been renamed to /database/seeders - a quick fix is to rename seeders to seed and then run the command and then rename the path back to seeders after you have the generated seeder file. Ideally a new version would be developed that gives an option to specify the name of the seeders directory or even better automatically recognizes that you are using Laravel v8 and automagically create the file in the default location. |
Not worked for me, error stays the same. |
I also got an error when using this package. This is what I did. Created a new folder inside database folder called seeder. Then copy and paste |
The class file TableNotFoundException.php does not exist. Worked for me on Laravel 10.x php8.2 |
Installed latest (v3.0.1) on a php 8 server with Laravel 8.
Running
php artisan iseed departments
throwsOrangehill\Iseed\TableNotFoundException
The table departments exists and uses the default connection.
PHP: 8.0.2
MariaDB: 10.5.8
Laravel: 8.29.0
The text was updated successfully, but these errors were encountered: