Error in SQL syntax when pushing schema
Hello, I'm trying to push my database schema to planetscale using
this is my schema
and this is the SQL generated by
Thank you
drizzle-kit push:mysql , but I got the error below after confirming the execution. Can someone point out for me what did i do wrong?this is my schema
and this is the SQL generated by
drizzle-kit push:mysqlThank you
Solution
i decided to not generate the uuid from the schema, remove the default value from the ID, and generate the ID when i'm calling the function. Thank you