David L. Bowman
DTDrizzle Team
•Created by David L. Bowman on 8/29/2024 in #help
`id` type is `undefined` when using `serial("id").primaryKey()`
7 replies
DTDrizzle Team
•Created by David L. Bowman on 8/26/2024 in #help
Formatting date_of_birth as MM-DD-YYYY
What's the best way of doing this?
date_of_birth: varchar("date_of_birth", { length: 10 }).notNull()
That's what I have so far, but I need it to be MM-DD-YYYY. It needs to be this way because of the API I need to sync with.
1 replies
DTDrizzle Team
•Created by David L. Bowman on 5/23/2024 in #help
HIPAA Compliant Drivers
can i use drizzle with aws healthlake? or, are there any recommended solutions?
1 replies
DTDrizzle Team
•Created by David L. Bowman on 5/6/2024 in #help
Changing `id` type from serial to uuid, causing error.
I'm sorry, I'm new to Drizzle, but I've read through the documentation and discord and cannot find a solution to my problem.
I'm using Next.js 14, Postgresql through Vercel.
When I first started, I built a test
UsersTable
but now I want to change the id
from a serial
to a uuid
. Everytime I try to generate:pg
it works, but push:pg
fails, giving the following error:
Could you please tell me how I'm supposed to update my table?
82 replies