When I write this commend in tinker
APPModelsJob::create([‘title’=>’Teacher’,’salary’=>’$100,000′]);
IlluminateDatabaseQueryException SQLSTATE[23000]: Integrity constraint violation:
19 NOT NULL constraint failed: job_listings.id (Connection: sqlite, SQL: insert into “job_listings” (“title”, “updated_at”, “created_at”) values (Teacher, 2024-05-14 08:19:27,
2024-05-14 08:19:27))
I want add Row in my data base using tinker
Majdimo Alsayed is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
1