drizzle-team / drizzle-orm

Headless TypeScript ORM with a head. Runs on Node, Bun and Deno. Lives on the Edge and yes, it's a JavaScript ORM too 😅
https://orm.drizzle.team
Apache License 2.0
24.68k stars 651 forks source link

[BUG]: #3567

Open maxpaleo opened 1 week ago

maxpaleo commented 1 week ago

Report hasn't been filed before.

What version of drizzle-orm are you using?

0.36.1

What version of drizzle-kit are you using?

0.28.0

Other packages

No response

Describe the Bug

I am reporting this bug in the hopes that the docs will be updated as it results in countless issues.

The Postgres docs still mention using serial() as a datatype but this has been deprecated it will throw errors across different stages.

For anyone reading this: do not using serial with Postgres.

Screenshot 2024-11-15 at 4 39 31 PM