1
0
mirror of https://github.com/dkmstr/openuds.git synced 2025-01-03 01:17:56 +03:00

Config is starting to grow (not much in fact), but i have added a couple of indexes over the fields that we use for lookup

This commit is contained in:
Adolfo Gómez 2013-02-11 06:48:48 +00:00
parent c967d877d6
commit dbd5ec2549
2 changed files with 3 additions and 2 deletions

View File

@ -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/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/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/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/models.py=utf-8
encoding//src/uds/osmanagers/LinuxOsManager/LinuxOsManager.py=utf-8 encoding//src/uds/osmanagers/LinuxOsManager/LinuxOsManager.py=utf-8
encoding//src/uds/osmanagers/LinuxOsManager/__init__.py=utf-8 encoding//src/uds/osmanagers/LinuxOsManager/__init__.py=utf-8

View File

@ -1738,8 +1738,8 @@ class Config(models.Model):
General configuration values model. Used to store global and specific modules configuration values. General configuration values model. Used to store global and specific modules configuration values.
This model is managed via uds.core.util.Config.Config class This model is managed via uds.core.util.Config.Config class
''' '''
section = models.CharField(max_length=128) section = models.CharField(max_length=128, db_index=True)
key = models.CharField(max_length=64) key = models.CharField(max_length=64, db_index=True)
value = models.TextField(default = '') value = models.TextField(default = '')
crypt = models.BooleanField(default = False) crypt = models.BooleanField(default = False)
long = models.BooleanField(default = False) long = models.BooleanField(default = False)