We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I have EmailMessage and EmailAttachment models with 1:M relationship defined. It makes sense on EmailAttachment to have method:
EmailMessage
EmailAttachment
public function message() { return $this->belongsTo(EmailMessage::class); }
And on EmailMessage:
public function attachments() { return $this->hasMany(EmailAttachment::class); }
However hasMany produces right relation, belongsTo does not.
hasMany
belongsTo
I am using stock config in this version: "beyondcode/laravel-er-diagram-generator": "^1.4"
The text was updated successfully, but these errors were encountered:
No branches or pull requests
I have
EmailMessage
andEmailAttachment
models with 1:M relationship defined. It makes sense onEmailAttachment
to have method:And on
EmailMessage
:However
hasMany
produces right relation,belongsTo
does not.I am using stock config in this version: "beyondcode/laravel-er-diagram-generator": "^1.4"
The text was updated successfully, but these errors were encountered: