Kim Young Jin
DTDrizzle Team
•Created by Kim Young Jin on 1/5/2024 in #help
PostgreSQL "type serial does not exist"
My drizzle schema uses
bigserial("topicid", { mode: "number" })
for the ids of several of my tables.
When I attempt to do db push
, I get the following error:
error: type "bigserial" does not exist
I've checked the migration that I generated previously, and it looks like this,
"id" bigserial PRIMARY KEY NOT NULL,
so I don't think it's a problem with the generated SQL.
I've had this problem with the serial
data type as well.4 replies