My FeedDiscussionsHeadless CMS
Sign in
Log inSign up
Learn more about Hashnode Headless CMSHashnode Headless CMS
Collaborate seamlessly with Hashnode Headless CMS for Enterprise.
Upgrade ✨Learn more
Travis Horn

1 like

·

508 reads

2 comments

Yosef Schwartz
Yosef Schwartz
Sep 21, 2023

Can you please help me with the create statement? I got an error during execute them

UUID() it is not valid at this position...

MySQL 8.0.31 Using WorkBench

·
·1 reply
Travis Horn
Travis Horn
Author
·Sep 21, 2023

Yosef, perhaps your version of MySQL does not support UUID() as the default value when creating a table. You might need to look into generating UUIDs for the ID columns a different way, such as with a trigger. I'm not 100% sure what will work for you but keep working at it and I'm sure you'll find a solution to create the necessary tables.

·