diff options
author | Tim Laszlo <tim.laszlo@gmail.com> | 2012-08-07 13:37:33 -0500 |
---|---|---|
committer | Tim Laszlo <tim.laszlo@gmail.com> | 2012-08-07 13:37:33 -0500 |
commit | 5b3ffd488a8b5f727a531a3b7c3ca419bb53d04e (patch) | |
tree | e816129405d12aad7069b7450b9121ed201ea23b /src/lib/Bcfg2/Server/Reports/reports/models.py | |
parent | cb928a1f548fe1e65933ecbb62220295802f160b (diff) | |
download | bcfg2-5b3ffd488a8b5f727a531a3b7c3ca419bb53d04e.tar.gz bcfg2-5b3ffd488a8b5f727a531a3b7c3ca419bb53d04e.tar.bz2 bcfg2-5b3ffd488a8b5f727a531a3b7c3ca419bb53d04e.zip |
Merge reporting configuration with main server configuration
Admin/Syncdb: Use SchemaUpdater
Move the schema update routines from reports to Bcfg2.Server
Move Reports.settings into Bcfg2.settings
Diffstat (limited to 'src/lib/Bcfg2/Server/Reports/reports/models.py')
-rw-r--r-- | src/lib/Bcfg2/Server/Reports/reports/models.py | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/src/lib/Bcfg2/Server/Reports/reports/models.py b/src/lib/Bcfg2/Server/Reports/reports/models.py index 4b078eb2c..73adaaaaf 100644 --- a/src/lib/Bcfg2/Server/Reports/reports/models.py +++ b/src/lib/Bcfg2/Server/Reports/reports/models.py @@ -342,18 +342,6 @@ class Performance(models.Model): transaction.set_dirty() -class InternalDatabaseVersion(models.Model): - """Object that tell us to witch version is the database.""" - version = models.IntegerField() - updated = models.DateTimeField(auto_now_add=True) - - def __str__(self): - return "version %d updated the %s" % (self.version, self.updated.isoformat()) - - class Meta: - get_latest_by = "version" - - class Group(models.Model): """ Groups extracted from interactions |