rpc error: code = InvalidArgument desc = Invalid default value
When I do
drizzle-kit push:mysql
I get the following error:
relevant code:
I don't understand the problem at all, the error seems to indicated it has to do with the id but the error message talks about created_at.4 Replies
Bump please
lil bump
You need to summon @Andrew Sherman for this
. π―π―οΈ
π― π―
π― π―
π―@Andrew Shermanπ―
π― π―
π― π―
π―οΈπ―οΈ
Oops, it solved out of nowhere, apparently there was an error with the previous definition of created_at which was
.defaultNow()
, I just removed the default and now it is defined as
I tried going back to .defaultNow() and it works... I have no clue what happened
from the planestcale console, this was my fix