I try to insert some data to the new table that I have create but laravel choose wrong reverse table. Instead of job_contract get contract_job.
QueryException in Connection.php line 636: SQLSTATE[42S02]: Base table or view not found: 1146 Table 'job.contract_job' doesn't exist (SQL: insert into
contract_job
(contract_id
,job_id
) values (2, 4))
I am new in laravel. Is anyone know the way that laravel defines the names of tables
from Newest questions tagged laravel-5 - Stack Overflow http://ift.tt/1QKHLXY
via IFTTT
Aucun commentaire:
Enregistrer un commentaire