I am new to Laravel/Eloquent. I have a question about accessing data from a table. The db structure is
- Table 1 (I want to load this table)
- No FK to any other table.
- Table 2
- Contains FK to Table 1
- Table 3 (I have the PK for this table, when I need data for Table 1)
- Contains FK to Table 2
I am not sure how should the Model for Table 1 look like, as I don't have any PK or FK for that table.
Many Thanks!