Do I have to import table name type for select query?

Doing this simple query:
dbDrizzle.select({
      id: user.id
    }).from(user)
I get no intelisense with ts etc.
after importing import { user } from "../../../drizzle/migrations/schema";
it works. This is the way or I messed up configuration?
Was this page helpful?