I'm trying to set a default value NewGuid() to a UUID/GUID column in MySQL 5.7 (with FluentMigrator in .Net Core).
Create.Table("table")
.WithColumn("auto_guid").AsGuid().NotNullable().WithDefaultValue(SystemMethods.NewGuid)
Based on Fluent Migrator documentation NewGuid should be supported but I get an error:
"You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ..."
I searched for any similiar issues and solutions but couldn't find any.
Is auto generating UUID/GUID in MySQL even possible with Fluent Migrator?