Drizzle Studio giving error due to `CURRENT_TIMESTAMP` in schema
I am having some issues with drizzle studio. I am not able to query the results when there is a
See schema on drizzle studio in the first image "1. schema" attached, it is having an error on line no. 20 for
Error =
When I try to fetch data using the query
It shows error dialog, with error on console
whereas the same query in "sql" section is able to fetch the data. See the fourth image "4. sql".
Also, if in my schema, there are tables with no CURRENT_TIMESTAMP in it, it works as expected with no error.
My Drizzle Config:
My Drizzle Schema:
CURRENT_TIMESTAMP included in my schema.See schema on drizzle studio in the first image "1. schema" attached, it is having an error on line no. 20 for
CURRENT_TIMESTAMPError =
Cannot find name 'CURRENT_TIMESTAMP'.When I try to fetch data using the query
db.select().from(userCity); , in the "queries" tab. See the second image "2. queries".It shows error dialog, with error on console
ReferenceError: CURRENT_TIMESTAMP is not defined. See the third image "3. error".whereas the same query in "sql" section is able to fetch the data. See the fourth image "4. sql".
Also, if in my schema, there are tables with no CURRENT_TIMESTAMP in it, it works as expected with no error.
My Drizzle Config:
My Drizzle Schema:



