You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Query Postgres Table with UUID as ID raises error #479
If I try to query a row from a postgres table with a id of type UUID prisma raises an error.
Postgres version: PostgreSQL 11.1 (Debian 11.1-1.pgdg90+1) on x86_64-pc-linux-gnu, compiled by gcc (Debian 6.3.0-18+deb9u1) 6.3.0 20170516, 64-bit
Prisma2 version: 2.0.0-alpha.159
DB Script:
CREATETABLEpublic."User"
(
age integer,
name text COLLATE pg_catalog."default"NOT NULL DEFAULT ''::text,
id uuid NOT NULL DEFAULT uuid_generate_v1(),
CONSTRAINT id PRIMARY KEY (id)
)
WITH (
OIDS = FALSE
)
TABLESPACE pg_default;
ALTERTABLE public."User"
OWNER to postgres;
Activity
pantharshit00 commentedon Sep 2, 2019
I can confirm this.
Also, the thing to note that when I use lift to bootstrap this, it created the column as
textfor uuid.pantharshit00 commentedon Sep 2, 2019
Created an issue in the lift repository for the related issue: prisma/migrate#114
benjamincanac commentedon Oct 3, 2019
Any update on this? I encounter the same problem.
Thanks!
divyenduz commentedon Oct 11, 2019
Internal note: link this to custom type EPIC issue, dropping from this sprint
Closes #479
pantharshit00 commentedon Jan 3, 2021
I believe fix for this was released a long time ago, please comment if someone is still experiencing this.
pantharshit00 commentedon Jan 3, 2021
Confirmed as well :)
docs(drive-discussion): require explicit declared subthread persona s…
docs(drive-discussion): separate example openings with prose (fix MD028)