thanks il have a try its weird because it was working fine the first way I had it the other day
g
garyaustin
02/10/2022, 9:28 PM
Did you happen to have RLS on before? Sort of wondering if that would count as a where....
k
Keooo
02/10/2022, 9:40 PM
I did (I think) I didn’t touch this project for to long. il put it back on and see if it makes a difference. I just looked at my git history and it definitely didn’t have a match before
g
garyaustin
02/10/2022, 9:42 PM
Either way I would keep some sort of filter on it. Your update should not rely on just RLS to pick the record in case you change RLS and forget about it.
s
Steve
02/11/2022, 7:29 PM
Projects now come with the https://github.com/eradman/pg-safeupdate extension enabled by default. This is to prevent accidental full table delete/updates through the API. You can still do full table deletes on the SQL Editor if you wish to.