convert func_distr_shape type from foreign key to integer choices

Default values are disabled because rise errors during save.