You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
You can't use a function as a default value in MySQL. It has to be a constant. To generate a UUID, you'd have to either use a trigger or do it manually.
When i specify a function name as a table column default, this is wrapped into quotes so when executed the function isn't run, its saved as a string.
This gives an error fortunately because UUID col can't have a default string value of this type.
The text was updated successfully, but these errors were encountered: