Hi everyone! I used to work with Prisma, and now I've started learning Drizzle. I have a problem: is it possible to reference the type of a specific column in a table? If so, how?
In Prisma, I solved it like this:
import { Pet } from '@prisma/client';selectedID: Pet['id'] | null;
import { Pet } from '@prisma/client';selectedID: Pet['id'] | null;
However, this approach doesn't work in Drizzle, and I get the following error: 'verificationTokens' refers to a value, but is being used as a type here. Did you mean 'typeof verificationTokens'? I tried with typeof but it did not work.