filmangullo / lara-TA

ini hanya sebuah tugas akhir
1 stars 0 forks source link

penulisan nama kolom #1

Open nipeharefa opened 6 years ago

nipeharefa commented 6 years ago

https://github.com/filmangullo/lara-TA/blob/6228c8e0f3ff02301b4b364590e5047b88b5f786/database/migrations/2018_04_27_161204_create_artikels_table.php#L18-L19

ubah artikel_Id jadi artikel_id

terus budaya_Id jadi id

filmangullo commented 6 years ago

ErrorException (E_ERROR) SQLSTATE[42S02]: Base table or view not found: 1146 Table 'WisataDanBudayaNias.artikel_budaya' doesn't exist (SQL: select budayas.*, artikel_budaya.artikel_id as pivot_artikel_id, artikel_budaya.budaya_id as pivot_budaya_id from budayas inner join artikel_budaya on budayas.id = artikel_budaya.budaya_id where artikel_budaya.artikel_id = 1) (View: /home/filmangulo/Laravel/lara-TA/resources/views/budaya.blade.php)