Skip to content
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

Migrations and seeding error #1

Open
Saudevelops opened this issue Apr 20, 2024 · 0 comments
Open

Migrations and seeding error #1

Saudevelops opened this issue Apr 20, 2024 · 0 comments

Comments

@Saudevelops
Copy link

PS C:\Users\admin\02.SDS Projects\SDS3\Laravel_MultiVendor_Ecommerce> php artisan key:generate

Illuminate\Database\QueryException

SQLSTATE[42S02]: Base table or view not found: 1146 Table 'sds-db.general_settings' doesn't exist (Connection: mysql, SQL: select * from general_settings limit 1)

at vendor\laravel\framework\src\Illuminate\Database\Connection.php:801
797▕ $this->getName(), $query, $this->prepareBindings($bindings), $e
798▕ );
799▕ }
800▕
➜ 801▕ throw new QueryException(
802▕ $this->getName(), $query, $this->prepareBindings($bindings), $e
803▕ );
804▕ }
805▕ }

i A table was not found: You might have forgotten to run your database migrations.
https://laravel.com/docs/master/migrations#running-migrations

1 [internal]:0
Illuminate\Foundation\Application::Illuminate\Foundation{closure}()

2 vendor\laravel\framework\src\Illuminate\Database\Connection.php:416
PDOException::("SQLSTATE[42S02]: Base table or view not found: 1146 Table 'sds-db.general_settings' doesn't exist")

for every command I see same error but I manually made an sql file with user/vendor/general settings data but then same error occurs asking for footer_data table and i guess after I manually import footers table it will show error saying 'some other table not found'

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant