jon.m
09/02/2021, 2:00 AMjon.m
09/02/2021, 2:01 AMjon.m
09/02/2021, 2:03 AMstibbs
09/02/2021, 5:13 AMcategories text[] not null,
. Table creates successfully, but if I try to enter values directly in the supabase dashboard everything I try is an invalid array?
Ultimately I want to input something like this from my JS: ["this + that", "and", "another"]
. What does this translate to in the dashboard?
The psql docs (https://www.postgresql.org/docs/9.1/arrays.html) say to use {}
and quotation marks but these all give Invalid Array
stibbs
09/02/2021, 6:45 AM["this + that", "and", "another"]
jason-lynx
09/02/2021, 10:18 AMNico Maybach
09/03/2021, 9:29 AMBEGIN
NEW.created_by = auth.uid();
RETURN NEW;
END;
-> Error: more than one row returned by a subquery used as an expressionjason-lynx
09/03/2021, 9:29 AM:=
?jason-lynx
09/03/2021, 9:31 AMNico Maybach
09/03/2021, 9:31 AMmornir
09/03/2021, 11:22 AMSETY
09/03/2021, 12:43 PMSETY
09/03/2021, 12:44 PMsilentworks
09/03/2021, 1:10 PMEvаn
09/04/2021, 4:28 AMSETY
09/04/2021, 9:36 AMsilentworks
09/04/2021, 2:16 PMSETY
09/04/2021, 3:02 PMRichCorbs
09/04/2021, 10:40 PMmendesrenan5
09/05/2021, 5:44 PMuser
09/05/2021, 7:50 PMuser
09/05/2021, 7:50 PMstibbs
09/06/2021, 1:06 AMstibbs
09/06/2021, 1:07 AMstibbs
09/06/2021, 1:13 AMbucket_id uuid references buckets not null,
stibbs
09/06/2021, 1:14 AMsql
CREATE TABLE buckets (
id uuid generated by default as identity primary key,
name text,
);
CREATE TABLE columns (
id uuid generated by default as identity primary key,
bucket_id uuid references buckets not null,
name text,
);
stibbs
09/06/2021, 1:16 AMstibbs
09/06/2021, 1:16 AMbigint
is enough - but happy for someone to teach me otherwise 🙂