willm
06/21/2022, 4:52 PMmattjson
06/21/2022, 5:00 PMNeedle
06/21/2022, 6:13 PM87prashant
06/21/2022, 6:22 PMBicijay
06/22/2022, 12:31 AMClearyboi
06/22/2022, 2:27 AMwillm
06/22/2022, 2:48 AMDeleted User
06/22/2022, 3:02 AMClearyboi
06/22/2022, 3:24 AMNilu
06/22/2022, 4:57 AM1337
06/22/2022, 5:27 AMError: Error resetting database: ERROR:  cannot drop function graphql.build_insert(jsonb,jsonb,jsonb,text) because extension pg_graphql requires it
HINT:  You can drop extension pg_graphql instead.
ERROR:  current transaction is aborted, commands ignored until end of transaction blockDROP FUNCTION IF EXISTS graphql.build_insert(ast jsonb, variable_definitions jsonb, variables jsonb, parent_type text);
DROP FUNCTION IF EXISTS graphql.build_delete(ast jsonb, variable_definitions jsonb, variables jsonb, parent_type text, parent_block_name text);
DROP FUNCTION IF EXISTS graphql.build_update(ast jsonb, variable_definitions jsonb, variables jsonb, parent_type text, parent_block_name text);
DROP FUNCTION IF EXISTS graphql.cache_key(role regrole, ast jsonb, variables jsonb);
DROP TABLE IF EXISTS graphql._field CASCADE;
DROP TABLE IF EXISTS graphql._type CASCADE;gabthebaker
06/22/2022, 5:34 AMsupabase.auth.update()<script src="https://cdn.jsdelivr.net/npm/@supabase/supabase-js"></script>
<script>
        const supabaseUrl = 'https://{{my-project}}.supabase.co'
        const supabaseKey = '{{my-anon-key}}'
        const supa = supabase.createClient(supabaseUrl, supabaseKey)
    </script>supa.auth.signIn({ email: 'some-test@emaill.com'})supa.auth.user()supa.auth.update({ phone: '+1{{my-phone-here}}' })supa.auth.verifyOTP({ phone: '+1{{my-phone-here}}', token:'XXXXXX', type: 'phone_change' })error:
message: "Token has expired or is invalid"
status: 401time="2022-06-22T04:54:21Z" level=info msg="401: Token has expired or is invalid" component=api error="redirect user" method=POST path=/verify referer="http://localhost:3000/" remote_addr="98.59.249.2:30283" request_id=97983326-7a91-44bb-990b-51e0052b16a5dragos
06/22/2022, 6:41 AMDankojo
06/22/2022, 7:44 AMjaitaiwan
06/22/2022, 7:55 AMStephenAlvin
06/22/2022, 8:08 AMgenta
06/22/2022, 3:30 PMNeedle
06/22/2022, 4:49 PMCarltonC
06/22/2022, 5:23 PMabaum
06/22/2022, 5:25 PM! Do you even Vim, bro?
06/22/2022, 5:29 PM.env.env.local.envwillm
06/22/2022, 5:53 PMyarn add supabaseNeedle
06/22/2022, 6:02 PMNin
06/22/2022, 6:45 PMjar
06/22/2022, 8:50 PMozolan
06/22/2022, 9:19 PMkreferlink
06/23/2022, 8:04 AMBoni
06/23/2022, 8:19 AMcreate or replace function get_summary(
)
returns table(
        "Nombre" varchar,
        "invoice_number" integer,
        "invoice_total" numeric,
        "part_cost" numeric,
        "other_expenses" numeric
)
language plpgsql
as $$
begin 
    return query
            select "Mecanicos"."Nombre",
            count(*) as "invoice_number",
            sum("Factura"."InvoiceTotal") as "invoice_total",
            sum("Factura"."PartCost"::float8) as "part_cost",
            sum("Factura"."OtherExpenses"::float8) as "other_expenses"
            from (
            select * from "Factura"
            where "Factura"."FDate" between symmetric '2022-06-22' and '2022-06-24'
            ) as "Factura"
            inner join "Mecanicos" on 
            "Mecanicos"."ID" = "Factura"."MechanicID"
            group by "Mecanicos"."Nombre"
            order by "Mecanicos"."Nombre" ASC;
end;$$Shoki
06/23/2022, 10:03 AMjs
 const { user, error, session } = await supabase.auth.signIn({
      oidc: {
        id_token: googleAuthSession.idToken!,
        provider: "google",
        nonce: "", // ? what should i pass here?
        issuer: "https://accounts.google.com",
      },
    });ChrisPBacon
06/23/2022, 12:38 PMhref="{{.ConfirmationURL}}<h2>Hello {{.User}}</h2>