From 2b514771564024df2fb89e5b4351eef903f9947d Mon Sep 17 00:00:00 2001 From: Tim Laszlo Date: Mon, 5 Jul 2010 23:44:23 +0000 Subject: DBStats: Improved handling of binary objects in the database git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5962 ce84e21b-d406-0410-9b95-82705330c041 --- src/lib/Server/Reports/reports/fixtures/initial_version.xml | 4 ++++ src/lib/Server/Reports/reports/models.py | 1 + 2 files changed, 5 insertions(+) (limited to 'src/lib/Server/Reports/reports') diff --git a/src/lib/Server/Reports/reports/fixtures/initial_version.xml b/src/lib/Server/Reports/reports/fixtures/initial_version.xml index 5c9ca2de5..1b1359eed 100644 --- a/src/lib/Server/Reports/reports/fixtures/initial_version.xml +++ b/src/lib/Server/Reports/reports/fixtures/initial_version.xml @@ -28,4 +28,8 @@ 16 2010-06-01 12:26:10 + + 17 + 2010-07-02 00:00:00 + diff --git a/src/lib/Server/Reports/reports/models.py b/src/lib/Server/Reports/reports/models.py index 5410ce37b..52073c153 100644 --- a/src/lib/Server/Reports/reports/models.py +++ b/src/lib/Server/Reports/reports/models.py @@ -222,6 +222,7 @@ class Reason(models.Model): current_version = models.TextField(max_length=128, blank=True) current_exists = models.BooleanField()#False means its missing. Default True current_diff = models.TextField(max_length=1280, blank=True) + is_binary = models.BooleanField(default=False) def _str_(self): return "Reason" -- cgit v1.2.3-1-g7c22