Closed mrcatman closed 5 years ago
Hey @mrcatman ,
This method returns the foreign key used by the relationship. So you can modify $translationForeignKey
.
Great!
As announced here, the project has been deprecated. Please use astrotomic/laravel-translatable.
I'm using non-standard model name ("CaseModel") because "case" is a reserved word in PHP. My model looks like:
But when I try to save a model, an error appears:
How can I change "case_model_id" to "case_id" here?