diff --git a/server/.settings/org.eclipse.core.resources.prefs b/server/.settings/org.eclipse.core.resources.prefs index e2691c6e..d03c512a 100644 --- a/server/.settings/org.eclipse.core.resources.prefs +++ b/server/.settings/org.eclipse.core.resources.prefs @@ -115,6 +115,7 @@ encoding//src/uds/migrations/0005_auto__add_field_config_crypt.py=utf-8 encoding//src/uds/migrations/0008_auto__add_userservicelog__add_field_userservice_src_hostname__add_fiel.py=utf-8 encoding//src/uds/migrations/0009_auto__del_userservicelog__add_log.py=utf-8 encoding//src/uds/migrations/0010_auto__add_field_log_owner_type.py=utf-8 +encoding//src/uds/migrations/0011_auto__add_statscounters__add_statsevents__chg_field_log_created__chg_f.py=utf-8 encoding//src/uds/models.py=utf-8 encoding//src/uds/osmanagers/LinuxOsManager/LinuxOsManager.py=utf-8 encoding//src/uds/osmanagers/LinuxOsManager/__init__.py=utf-8 diff --git a/server/src/uds/models.py b/server/src/uds/models.py index 1db75b8b..6c3b4b74 100644 --- a/server/src/uds/models.py +++ b/server/src/uds/models.py @@ -1738,8 +1738,8 @@ class Config(models.Model): General configuration values model. Used to store global and specific modules configuration values. This model is managed via uds.core.util.Config.Config class ''' - section = models.CharField(max_length=128) - key = models.CharField(max_length=64) + section = models.CharField(max_length=128, db_index=True) + key = models.CharField(max_length=64, db_index=True) value = models.TextField(default = '') crypt = models.BooleanField(default = False) long = models.BooleanField(default = False)