Quantcast
Channel: DreamFactory Forum - Latest posts
Viewing all articles
Browse latest Browse all 5027

POST to a table that has a belongs_to relationship no longer working in 2.3

$
0
0

Hello. Please help with this urgent matter.

I updated to df 2.3 . In 2.1 the current schema and system worked.

I have a table pictures. this table has a field user_id . the user_id has belongs_to relationship to the user_profile table.

name -> user_profile_by_user_id type -> belongs_to table-> user_profile field-> user_id

When I post data into the pictures table, I see I need to post data for the user_profile_by_user_id now. But I don't have that data. I just want to get the user_profile for each picture when I query the pictures table.

["message"]=>
string(77) "Failed to update belongs-to assignment.
No valid fields were found in record."

This exact setup worked in 2.1. And now i'm stuck because POST does'nt work on any of the schema anymore.

Is there a param I can send stating I don't want to update the user_profile table also?

please help @drewpearce

Thank you.


Viewing all articles
Browse latest Browse all 5027

Trending Articles