PostgreSQL "type serial does not exist"
My drizzle schema uses
for the ids of several of my tables.
When I attempt to do
I've checked the migration that I generated previously, and it looks like this,
so I don't think it's a problem with the generated SQL.
I've had this problem with the
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 existI'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.