DEV Community

Discussion on: Set up a free PostgreSQL database on Supabase to use with Prisma

Collapse
 
touhidrahman profile image
Touhid Rahman

Using id Int @id @default(autoincrement()) in prisma schema creates an id field in supabase with following function -
nextval('"Entity_id_seq"'::regclass)

Which is obviously a syntax error in supabase. Do you have any suggestion to overcome this?