Closed bianvigano closed 11 months ago
Sorry, I haven't updated the database definitions in a while because supabase doesn't make it easy to export all definitions, functions and triggers.
I've updated it enough to get it running and working. supabase.ddl
Already able to walk and work.
Thank you.
But why do we have to use a database from supabase.com. Why not use SQL, SQLite, MySQL, and MongoDB databases?
Supabase provided a better DX.
It looks like there's another bug, or perhaps another database problem.
So, the problem is that when I try to log in with another account, the contents of 'myfiles' are the same in that account. It should be that different accounts have different 'myfiles.' this is the same
It sounds like you need to setup RLS on your tables.
I can provide you with some basic policies that should fix your problem: https://github.com/Zeptosec/Thermastore/blob/3a93e66d51ccf4d41ca75f3330ebc6482a53b513/supabase.ddl#L200-L250
Maybe it's because it's not completely clear about this database supabase