[sql gen] Properly create UNIQUE index on non string column. Closes #13728492
Unique was previously detected in a loop triggered only for String columns.
# re-read ComputedRelation permissions from schema.py now that we're
# able to serialize them
for computedrtype in schema.iter_computed_relations():
sync_schema_props_perms(computedrtype.type)