Elfhild
11/03/2022, 4:35 AMNorkz
11/03/2022, 4:37 AMLinux oracle Ubuntu aarch64 aarch64 aarch64 GNU/Linux
Another similar issue:
I am self hosting Supabase
, and I used the followed the Official Guide
.
The following PasteBin contains logs of each container.
https://pastebin.com/Qkk7PKNV
While in Supabase-Studio, in the chrome console I am receiving the following:
default:1 Unchecked runtime.lastError: A listener indicated an asynchronous response by returning true, but the message channel closed before a response was received
:3000/api/profile/permissions?returning=minimal:1 Failed to load resource: the server responded with a status of 404 (Not Found)
:3000/api/profile/permissions?returning=minimal:1 Failed to load resource: the server responded with a status of 404 (Not Found)
How can this issue be resolved?
Any help is appreciated.whiskeywizard
11/03/2022, 4:43 AMbinajmen
11/03/2022, 6:50 AMJustinT
11/03/2022, 7:04 AMactivenode
11/03/2022, 10:24 AMGopalakrishnan
11/03/2022, 10:25 AMmendesrenan5
11/03/2022, 10:26 AMalter view transit.table_name set schema public;
Where table_name is, of course, the table name.
The first picture show the table "routes", which can't be accessed using the api.
The second shows the tables "t_test" and "testtttt". The only one that can be accessed is "testtttt". It is also the only one that was created directly in "public" and not in "transit" schema.
They all look fine in the dashboard.korayem
11/03/2022, 10:33 AMgreencurve
11/03/2022, 10:54 AMUnexpected token I in JSON at position 0
Thoth Trismegistus
11/03/2022, 11:19 AMMuezz
11/03/2022, 11:38 AMsql
SELECT * FROM signups
INNER JOIN guests ON signups."guestId" = guests."guestId"
INNER JOIN events ON signups."eventId" = events."eventId";
I have this piece of code so far:
await supabase.from('signups').select('*, guests!inner(*), events!inner(*)');
It works but it is giving me the inner join columns in a nested map/json like this:
json
[
{
signupId: 8653e1d0-57a8-4138-b2bf-7ae078570c5c,
eventId: da7fe194-78a3-47e8-b9ce-0ee57cdfc247, // This is a foreign key from table events
guestId: e9482062-9c0e-4025-a1b1-d03e9d8c7910, // This is a foreign key from table guests
// other field/column values from signups table
guests: {
guestId: e9482062-9c0e-4025-a1b1-d03e9d8c7910,
guestName: James,
guestPhoneNumber: +1-3091234567
},
events: {
eventId: da7fe194-78a3-47e8-b9ce-0ee57cdfc247,
eventName: Annual Company Meeting,
eventVenue: Continental,
eventDateTime: 1667300987442
}
}
]
I want to get this output:
json
[
{
signupId: 8653e1d0-57a8-4138-b2bf-7ae078570c5c,
eventId: da7fe194-78a3-47e8-b9ce-0ee57cdfc247, // This is a foreign key from table events
guestId: e9482062-9c0e-4025-a1b1-d03e9d8c7910, // This is a foreign key from table guests
// other field/column values from signups table
guestName: James,
guestPhoneNumber: +1-3091234567,
eventName: Annual Company Meeting,
eventVenue: Continental,
eventDateTime: 1667300987442
}
}
]
What is the query syntax that will let me do this within dart?ismael1234
11/03/2022, 3:42 PMsosapps
11/03/2022, 3:45 PMLukas V
11/03/2022, 4:28 PMremember me
, I don't use supabase ui, but how can I set this myself.
For example, if I want to keep user logged in for a year, how would I achieve this?Thoth Trismegistus
11/03/2022, 4:48 PMtried to subscribe multiple times. 'subscribe' can only be called a single time per channel instance
Sanctus
11/03/2022, 4:56 PMHallidayo
11/03/2022, 5:32 PMfloyare
11/03/2022, 6:14 PMItsEthra
11/03/2022, 6:27 PMPOSTGRES_HOST
to point to my raspberrypi. But when I run docker-compose
I am getting a few errors. How can I fix them?aarku
11/03/2022, 6:29 PMNotorious T.I.M.
11/03/2022, 6:49 PMzettabyte
11/03/2022, 6:56 PMbobmolgui
11/03/2022, 7:31 PMdev Joakim Pedersen
11/03/2022, 8:31 PMjaf
11/03/2022, 9:48 PMDeadlyDev
11/03/2022, 9:50 PMshopping_lists
which has an owner (user id). I have another table shopping_lists_items
which has a shopping_list column that is a foreign key of shopping_lists_items.
I want an RLS policy that says a user can delete a row from shopping_lists_items
if it belongs to shopping_lists where the owner is the uid().
Hopefully I explained that well enough, if not I can try to elaborate. Thanks in advanced for any help!Rían
11/04/2022, 2:05 AMTeiem
11/04/2022, 3:16 AMrohangroombridge
11/04/2022, 4:02 AM