Skip to content

Value of field "db_file_id" does not exist on referenced table #306

Answered by radynsade
radynsade asked this question in Q&A
Discussion options

You must be logged in to vote

I found where was a problem. In relationships declarations I specified column names instead of property names like $this->belongsTo('db_file_id... instead of $this->belongsTo('dbFileId... . After I changed it to property names, all works.

Replies: 2 comments 7 replies

Comment options

You must be logged in to vote
7 replies
@radynsade
Comment options

@borisdelev
Comment options

@radynsade
Comment options

@borisdelev
Comment options

@radynsade
Comment options

Comment options

You must be logged in to vote
0 replies
Answer selected by radynsade
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants