Jason Creviston
03/16/2022, 11:13 PMJason Creviston
03/16/2022, 11:13 PMid
column, click save twice, it says it successfully updated. But when I go into edit the table again, the work is gone.
However, I have gotten another fk to work - to a non id
column (but still primary).
Any experience with this? I searched this server, but couldn't find anything similar. Maybe I didn't look hard enough. Reviewed some postgres docs, and it didn't seem to have any constraints I am bumping up against.DanMossa
03/16/2022, 11:47 PMJason Creviston
03/17/2022, 4:06 PMmust be owner of table components
. Which is weird, because I'm using the postgres
user login from supabase. I assume that IS the owner. You ever run into this?Jason Creviston
03/17/2022, 4:06 PMDanMossa
03/17/2022, 4:07 PMJason Creviston
03/17/2022, 4:09 PMJason Creviston
03/17/2022, 4:09 PMALTER TABLE "public"."components" ADD FOREIGN KEY ("subscribers") REFERENCES "public"."subscribers"("id") ON DELETE CASCADE;
DanMossa
03/17/2022, 4:12 PMDanMossa
03/17/2022, 4:12 PMDanMossa
03/17/2022, 4:12 PMJason Creviston
03/17/2022, 4:12 PMDanMossa
03/17/2022, 4:13 PMDanMossa
03/17/2022, 4:16 PMJason Creviston
03/17/2022, 4:18 PMJason Creviston
03/17/2022, 4:18 PMJason Creviston
03/17/2022, 4:22 PMJason Creviston
03/17/2022, 4:22 PMDanMossa
03/17/2022, 4:38 PMDanMossa
03/17/2022, 4:39 PMDanMossa
03/17/2022, 4:40 PMJason Creviston
03/22/2022, 7:28 PM