DieZitrone
DieZitrone
DTDrizzle Team
Created by DieZitrone on 10/23/2023 in #help
postgres error: type "serial" does not exist
The other are text Ids now
8 replies
DTDrizzle Team
Created by DieZitrone on 10/23/2023 in #help
postgres error: type "serial" does not exist
I fixed it, flushed my db, and added a new pk column using serial
8 replies
DTDrizzle Team
Created by DieZitrone on 10/23/2023 in #help
postgres error: type "serial" does not exist
Its a new table, if that makes a difference. Any idea how I could fix it?
8 replies
DTDrizzle Team
Created by DieZitrone on 10/23/2023 in #help
postgres error: type "serial" does not exist
my imports
import {
timestamp,
pgTable,
text,
primaryKey,
integer,
serial,
} from "drizzle-orm/pg-core";
import type { AdapterAccount } from "@auth/core/adapters";
import { relations } from "drizzle-orm";
import {
timestamp,
pgTable,
text,
primaryKey,
integer,
serial,
} from "drizzle-orm/pg-core";
import type { AdapterAccount } from "@auth/core/adapters";
import { relations } from "drizzle-orm";
8 replies