Storing repeater data in a pivot table
Hi ,ho to save data from repeater into pivot table?
Here's the Models and the table I have.
----
Tables:
expert :id, first_name,last_name,...
diplome :id name,...
diplome_experts : id,diplome_id,expert_id,year,...
Expert Model :
Expert (Livewire)
Error captured :
SQLSTATE[42S22]: Column not found: 1054 Unknown column 'diplome_id' in 'field list' (Connection: mysql, SQL: insert into
------------
The data going to be stored in the 'diplome' table and not in the 'diplome_ experts' pivot table?
Any help , Thanks
Here's the Models and the table I have.
----
Tables:
expert :id, first_name,last_name,...
diplome :id name,...
diplome_experts : id,diplome_id,expert_id,year,...
Expert Model :
Expert (Livewire)
Error captured :
SQLSTATE[42S22]: Column not found: 1054 Unknown column 'diplome_id' in 'field list' (Connection: mysql, SQL: insert into
**diplomes** (diplome_id, year, specialite_id, etablissement_id, updated_at, created_at)------------
The data going to be stored in the 'diplome' table and not in the 'diplome_ experts' pivot table?
Any help , Thanks