All Questions
2 questions
0
votes
1
answer
55
views
How to make a custom constraint name in drizzle orm? [closed]
How to make a custom fk pk constraint name in drizzle orm?
I always face this problem :
sqlState: '42000',
sqlMessage: "Identifier name '...' is too long"
I have tried changing the ...
0
votes
1
answer
119
views
NextJS Drizzle-Kit cannot use CLI
I am using the drizzle auth template and trying to modify it to add Role Based Authentication. So I made some changes to the db.ts to add in the roles
import { drizzle } from 'drizzle-orm/postgres-js';...