a d
07/30/2021, 3:37 PMa d
07/30/2021, 3:37 PMa d
07/30/2021, 3:38 PMjs
const { data, error } = await supabase
.rpc('Create table')
Scott P
07/30/2021, 3:41 PMsql
CREATE OR REPLACE FUNCTION public.some_function()
RETURNS boolean
LANGUAGE plpgsql AS $$
BEGIN
-- Your query code goes here
END;
$$;
The open and saved queries on the dashboard are saved in your browser, and only really exist to make it easier for you to run common queries. Take a look at https://www.postgresqltutorial.com/postgresql-create-function/ for more details on creating functions.
Gonna open a thread from here if you want to discuss further 🙂Rakox
07/30/2021, 4:54 PMsupabase eject
to create the docker-compose.yml
Does anyone have an idea?
Creating supabase-mail ... error
Creating supabase-db ...
Creating supabase-kong ...
Creating supabase-db ... error
6783a03a7ef845b9c8e357e587e38fa12". You have to remove (or rename) that container to be able to reuse that name.
ERROR: for supabase-db Cannot create container for service db: Conflict. The container name "/supabase-db" is already in use by container "4e98ca987c72bd9b6466ed5c4ddf86ef12d4aCreating supabase-kong ... error
ERROR: for supabase-kong Cannot create container for service kong: Conflict. The container name "/supabase-kong" is already in use by container "0a4aac0d7df49eb60e2e842c9a4e14aedb0d1e306aa3ebee295a09eda73b2215". You have to remove (or rename) that container to be able to reuse that name.
ERROR: for mail Cannot create container for service mail: Conflict. The container name "/supabase-mail" is already in use by container "3a9b049efcfe34d6b24667c1c2f42fa6783a03a7ef845b9c8e357e587e38fa12". You have to remove (or rename) that container to be able to reuse that name.
ERROR: for db Cannot create container for service db: Conflict. The container name "/supabase-db" is already in use by container "4e98ca987c72bd9b6466ed5c4ddf86ef12d4a549a17842b2979ee0396c456b24". You have to remove (or rename) that container to be able to reuse that name.
ERROR: for kong Cannot create container for service kong: Conflict. The container name "/supabase-kong" is already in use by container "0a4aac0d7df49eb60e2e842c9a4e14aedb0d1e306aa3ebee295a09eda73b2215". You have to remove (or rename) that container to be able to reuse that name.
ERROR: Encountered errors while bringing up the project.
magicquin
07/30/2021, 5:03 PMmagicquin
07/30/2021, 5:08 PMmagicquin
07/30/2021, 5:09 PMuser
07/30/2021, 5:23 PMehesp
07/30/2021, 6:57 PMnull
, and then gets replaced with the user afterwards. This is causing issues, as I'm trying to perform an API call when the page loads, but if the user is null
(and my session has not been set), the API call fails since it's being executed (from a hook) before it knows I'm authenticateduser
07/30/2021, 7:04 PMuser
07/30/2021, 7:06 PMuser
07/30/2021, 7:06 PMuser
07/30/2021, 7:07 PMBryan K.
07/30/2021, 9:01 PMcopple
07/31/2021, 3:26 AMa d
07/31/2021, 3:28 AMcopple
07/31/2021, 3:31 AMdocker-compose down
or supabase stop
a d
07/31/2021, 3:32 AMKhan W
07/31/2021, 6:33 AMKhan W
07/31/2021, 6:33 AMUlbrecht
07/31/2021, 7:52 AMDharmaraJ
07/31/2021, 8:34 AMDharmaraJ
07/31/2021, 8:34 AMDharmaraJ
07/31/2021, 8:34 AMint2
, int4
and int8
specificallysilentworks
07/31/2021, 8:41 AMDharmaraJ
07/31/2021, 8:42 AMsilentworks
07/31/2021, 8:42 AMDharmaraJ
07/31/2021, 8:42 AM