Kasper
03/30/2022, 9:39 PMNeedle
03/30/2022, 9:39 PM/title
command!
We have solved your problem?
Click the button below to archive it.garyaustin
03/31/2022, 12:03 AMNeedle
03/31/2022, 12:03 AMKasper
03/31/2022, 6:21 PMgaryaustin
03/31/2022, 6:31 PMKasper
03/31/2022, 6:37 PMgaryaustin
03/31/2022, 6:48 PMKasper
03/31/2022, 6:51 PMgaryaustin
03/31/2022, 6:54 PMKasper
03/31/2022, 6:55 PMfunction uid() does not exist
Tried just renaming those to auth.uid()
and the query is successful, but still getting policy errorsgaryaustin
03/31/2022, 7:25 PMKasper
03/31/2022, 7:25 PMgaryaustin
03/31/2022, 7:28 PMKasper
03/31/2022, 8:03 PMstorage.objects
table, so now the issue is that the bucket doesn't existError uploading "2/0-jntnrrdl.png": insert or update on table "objects" violates foreign key constraint "objects_bucketId_fkey"
garyaustin
03/31/2022, 8:10 PMKasper
03/31/2022, 8:13 PMstorage.buckets
tablegaryaustin
03/31/2022, 8:14 PMKasper
03/31/2022, 8:14 PMhttp://localhost:54321/storage/v1/bucket
body:
{
"id": "bucket-name",
"name": "bucket-name",
"public": true
}
garyaustin
03/31/2022, 8:16 PMKasper
03/31/2022, 8:17 PMgaryaustin
03/31/2022, 8:18 PMKasper
03/31/2022, 8:19 PMgaryaustin
03/31/2022, 8:20 PMKasper
03/31/2022, 8:23 PM