Drizzle postgres migration gives lots of type errors

I wanted to use drizzle for my project. But it seems I can't migrate as it is producing lots of type errors.

My package.json is very simple

migration file is this




drizzle.config file is this



Schema file is this


When I tried to migrate, it gives the following error
Was this page helpful?