Column relationship
hello i wanted to show the domainextension price! but i think i got something wrong π¦
domainExtension Model:
DomainCheckRecord model:
DomainCheckRecord model:
Solution:Jump to solution
Fixed it! just needed to add the foreignkey in the domainextension():belongsTo
3 Replies
Is your example correct? You called both your relation methods
domaincheckrecord
but then you are using domainextension.price
in your column
It should probably be domaincheckrecord.price
unless you copied the wrong relationyour right it is the wrong in my message but the code it was right]
he needs the price from domainextension
Solution
Fixed it! just needed to add the foreignkey in the domainextension():belongsTo