© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
Drizzle TeamDT
Drizzle Team•3y ago
Ravi kiran

integer timestamp error

hey guys im trying to insert start_dtime and end_dtime fields as integers. im trying the attached code. but i run into this error.
Types of property 'start_dtime' are incompatible.
Type 'number' is not assignable to type 'SQL<unknown> | Placeholder<string, any> | Date | null | undefined'.
i have attached both my schema and the code.
can someone help me with this.
Screenshot_2024-01-08_at_9.25.24_AM.png
Screenshot_2024-01-08_at_9.25.11_AM.png
Drizzle TeamJoin
The official Discord for all Drizzle related projects, such as Drizzle ORM, Drizzle Kit, Drizzle Studio and more!
11,879Members
Resources

Similar Threads

Was this page helpful?
Recent Announcements

Similar Threads

Drizzle Error - Drizzle Kit - Integer
Drizzle TeamDTDrizzle Team / help
2y ago
Can `integer('done_at', { mode: 'timestamp_ms' })` not be null? (SQLite, Bun)
Drizzle TeamDTDrizzle Team / help
2y ago
SQLite: timestamp vs timestamp_ms modes
Drizzle TeamDTDrizzle Team / help
3y ago
Error: No grammar type for TIMESTAMP – Error ID 4fa91e577c064e1f803c7fcc3ff4b881
Drizzle TeamDTDrizzle Team / help
7mo ago