Running into an error when runing `drizzle-kit push:mysql` yet i haven't changed anything
So i seem to be running into this error:
This has only just been happening since about the last drizzle update, i have tried changing my schema with no luck.
My version of drizzle and drizzle-kit
Please find my schema attached below:
7 Replies
Are you using planetscale ?
yeh
i think that is the issue however it was working, do you know i might fix that?
If so, you need to hardcode each default value of timestamp fields to use
sql
from drizzle.
defaultNow()
is making an invalid default value for planetscale db.does
onUpdateNow()
still work as intended or do i need to change that as well?onUpdateNow()
is working as intendedthank you for your help
doesn't seem to be working on me, I'm running into the same error using Planetscale