It might be nice to find a way to use gorm for the MySQL UUID_SHORT() call itself, but that might end up requiring more work just to map a single row value (user_uuid in this case) for use in your model.User (possibly requiring an additional struct just for UUID_SHORT()). Jun 22, 2015 · The second fix is to assign a default sql_mode on the mysql server. If you are using a brew installed MySQL you should edit the my.cnf file in the MySQL directory at /usr/local/Cellar/mysql/<version>/my.cnf. Comment out or change the sql_mode at the bottom: A lot of people don't change the default tagline, especially if using a theme that doesn't display it. But it still displays in their feed. We should check to see if they still have the default tagline and if so, put a little contextual help in Settings - General that (nicely) encourages them to change it. May 23, 2015 · Only use uuid-ossp if you have a real and specific need for the functions it provides If your only need is to generate and index them then you do not need uid-ossp. ( Update: See below. ) For generating UUID's within the database an easy place to start is to use the gen_random_uuid () function from the pgcrypto extension. Description: Program only allows setting a value for the default value of columns, Functions [e.g. Now() or Uuid()] can not be used. How to repeat: Add a column to a table, set type to CHAR(38) etc, Type in function name e.g. UUID(). When inserting new rows the value 'UUID()' is inserted rather than the desired action of inserting a globally unique identifier etc. Suggested fix: Changing ...