This forum has moved to a new location and is in read-only mode. Please visit talk.octobercms.com to access the new location.
webmaster
Hello,
for example I have two table names ['id','name','family']
and emails['id','person_id','email']
I read article about it but can't connect relation and column will hide.
I want to show person name when visiting email list. emails.person_id ---[should convert to]---> names.name
and the key is names.id
any one know what I should add into columns.yaml
and are there anythings else should I do?
webmaster
I fixed problem with following steps:
- read octobercms document->lists completely
- create diagram from table and relations
- define fillable and guard fields
- define relations and reverse relations
- config columns.yaml
1-2 of 2