-
Notifications
You must be signed in to change notification settings - Fork 58
Description
when adding package using composer getting this error, even after doing some tweaks of database migration.
SQLSTATE[42S02]: Base table or view not found: 1146 Table 'schedule_task_laravel.schedules' doesn't exist (Connection: mysql, SQL: select * from schedules where status = 1 and schedules.deleted_at is null)
at vendor\laravel\framework\src\Illuminate\Database\Connection.php:813
809▕ $this->getName(), $query, $this->prepareBindings($bindings), $e
810▕ );
811▕ }
812▕
➜ 813▕ throw new QueryException(
814▕ $this->getName(), $query, $this->prepareBindings($bindings), $e
815▕ );
816▕ }
817▕ }
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
RobersonFaria\DatabaseSchedule\Console\Scheduling\Schedule::__construct(Object(RobersonFaria\DatabaseSchedule\Http\Services\ScheduleService), Object(Illuminate\Console\Scheduling\Schedule))
2 vendor\laravel\framework\src\Illuminate\Database\Connection.php:407
PDOException::("SQLSTATE[42S02]: Base table or view not found: 1146 Table 'schedule_task_laravel.schedules' doesn't exist")