Postingan lainnya
Kira-kira kalo muncul pesan kaya gini errornya dimana yaa?
Illuminate\Database\QueryException
SQLSTATE[42S02]: Base table or view not found: 1146 Table 'laboratorium_app.items' doesn't exist (SQL: alter table `items` add `unit_id` bigint unsigned null, add `place_id` bigint unsigned null, add `comment_id` bigint unsigned null, add `log_id` bigint unsigned null)
at C:\xampp\htdocs\laboratorium-app\vendor\laravel\framework\src\Illuminate\Database\Connection.php:692
688▕ // If an exception occurs when attempting to run a query, we'll format the error
689▕ // message to include the bindings with SQL, which will make this exception a
690▕ // lot more helpful to the developer instead of just the database's errors.
691▕ catch (Exception $e) {
➜ 692▕ throw new QueryException(
693▕ $query, $this->prepareBindings($bindings), $e
694▕ );
695▕ }
696▕ }
• A table was not found: You might have forgotten to run your migrations. You can run your migrations using `php artisan migrate`.
https://laravel.com/docs/master/migrations#running-migrations
1 C:\xampp\htdocs\laboratorium-app\vendor\laravel\framework\src\Illuminate\Database\Connection.php:485
PDOException::("SQLSTATE[42S02]: Base table or view not found: 1146 Table 'laboratorium_app.items' doesn't exist")
2 C:\xampp\htdocs\laboratorium-app\vendor\laravel\framework\src\Illuminate\Database\Connection.php:485
PDOStatement::execute()
0
Tanggapan
Sesuaikan judul dengan pertanyaan kamu ya. Baca aturan main cara membuat judul yang baik
2 Jawaban:
<pre>salah manggil tabel di database cobak teliti lagi pemanggilan nama tabael nya</pre>
0
<div>Salah panggil tabel, dikoreksi lagi mungkin </div>
0