Skip to content
New issue

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

identifiableName for fields that don't end with _id #374

Open
SuperlativeEntity opened this issue Jul 9, 2020 · 0 comments
Open

identifiableName for fields that don't end with _id #374

SuperlativeEntity opened this issue Jul 9, 2020 · 0 comments

Comments

@SuperlativeEntity
Copy link

SuperlativeEntity commented Jul 9, 2020

Is it possible to get the identifiableName for a field name "represented_by" for example?

It's an older database and the field can't be renamed.

public function representedBy() { return $this->belongsTo(User::class, 'represented_by'); }

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant