Jason Creviston
03/16/2022, 11:13 PMelliott
03/17/2022, 5:18 AMgreentfrapp
03/17/2022, 7:22 AMHassaan Mahboob
03/17/2022, 11:09 AMtheuknowner
03/17/2022, 12:56 PMLukas V
03/17/2022, 1:32 PMNeedle
03/17/2022, 3:03 PM/title
command!
We have solved your problem?
Click the button below to archive it.Voko2255
03/17/2022, 3:04 PMreed
03/17/2022, 3:44 PMNinjaNuur
03/17/2022, 7:52 PMisosceleskramer
03/17/2022, 10:26 PMopenapi-typescript
command works if I run it directly but when I run it as an NPM script I get an error:
Error: ✘ version missing from schema; specify whether this is OpenAPI v3 or v2 https://swagger.io/specification
Anyone encountered this before?
The guide: https://supabase.com/docs/reference/javascript/generating-typesnicksrandall
03/17/2022, 11:23 PMBarschreck
03/18/2022, 12:00 AMarcavid
03/18/2022, 2:16 AMAghilan
03/18/2022, 2:54 AMts
async function updateUserFinances(currentUserID: string, updatedExpenses: Object) {
const { data, error } = await supabase
.from("UserFinanceData")
.update({ Expenses, updatedExpenses: JSON });
.match({ UserID: currentUserID} )
AmusedGrape
03/18/2022, 3:34 AMsql
create function commands_inc (x int, row_id text)
returns void as
$$
if exists (select 1 from bot_analytics where id = row_id) then
begin
update bot_analytics
set commands = commands + x
where id = row_id
end
else
begin
insert into bot_analytics (id, commands)
values (row_id, x)
end if
$$
language plpgsql volatile;
lasershow365
03/18/2022, 5:35 AMHassaan Mahboob
03/18/2022, 6:50 AMfayaz
03/18/2022, 7:24 AMBarschreck
03/18/2022, 11:13 AMAvin
03/18/2022, 1:18 PMAvin
03/18/2022, 2:39 PMProdigy7kX
03/18/2022, 11:52 PMVillage
03/19/2022, 12:04 AMrunning db migrations: Migrator: problem creating schema migrations: couldn't start a new transaction: could not create new transaction: failed to connect to `host=db user=postgres database=postgres`: server error (FATAL: no pg_hba.conf entry for host \"172.19.0.7\", user \"postgres\", database \"postgres\",
every time? I could just put 172.19.0.7 in pg_hba.conf, but I'm trying to package a single docker-compose and .env config people can use to self-host without having to edit their pg_hba.conf files.Marc
03/19/2022, 1:56 AMawait supabase.from(table).delete();
. works perfectly on my dev instance but somehow nothing deleted on my testing instance. am I missing some config on this one? what could cause this?joshwo
03/19/2022, 6:19 AMNeedle
03/19/2022, 6:21 AM/title
command!
We have solved your problem?
Click the button below to archive it.Leopold
03/19/2022, 8:10 AMBarschreck
03/19/2022, 2:35 PMfgiordanelli
03/19/2022, 8:20 PM