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
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
webmaster

I fixed problem with following steps:

  1. read octobercms document->lists completely
  2. create diagram from table and relations
  3. define fillable and guard fields
  4. define relations and reverse relations
  5. config columns.yaml

1-2 of 2

You cannot edit posts or make replies: the forum has moved to talk.octobercms.com.