in supabase files are not storing as mentioned in document
AllChristianDolphin13 months ago
In subapase files are not stored with user-Id-starttime.json format.
It is taking payload_id.json.
Also, all request data is not saved in terra_data_payloads.
Can someone tell me how it works and why it is not as per documentation?
Elliottadmin11 months ago
Hey,
Apologies for the confusions here! This was an old structure that we went with, however with feedback we realised this was not the best way to utilise Supabase's capabilities.
Hence, now all data (daily, sleep, activity, etc.) payloads are stored in terra_data_payloads with a payload_id.json format. This payload_id is inserted into the database table terra_data_payloads. User auth's are directly written into the terra_users table allowing you to easily query and check what users are connected.
Hope this clears it up!