summaryrefslogtreecommitdiffstats
path: root/src/lib/Server/Reports/updatefix.py
diff options
context:
space:
mode:
authorTim Laszlo <tim.laszlo@gmail.com>2010-07-05 23:44:23 +0000
committerSol Jerome <sol.jerome@gmail.com>2010-07-08 23:26:49 -0500
commit2b514771564024df2fb89e5b4351eef903f9947d (patch)
tree9b9e362d62479eb8782e0b794c2007c96ac5554b /src/lib/Server/Reports/updatefix.py
parent1245c432c2b3a5b3854efa17ca45504492328c41 (diff)
downloadbcfg2-2b514771564024df2fb89e5b4351eef903f9947d.tar.gz
bcfg2-2b514771564024df2fb89e5b4351eef903f9947d.tar.bz2
bcfg2-2b514771564024df2fb89e5b4351eef903f9947d.zip
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
Diffstat (limited to 'src/lib/Server/Reports/updatefix.py')
-rw-r--r--src/lib/Server/Reports/updatefix.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/lib/Server/Reports/updatefix.py b/src/lib/Server/Reports/updatefix.py
index df2e812df..6d9b5e952 100644
--- a/src/lib/Server/Reports/updatefix.py
+++ b/src/lib/Server/Reports/updatefix.py
@@ -98,6 +98,7 @@ _fixes = [_merge_database_table_entries,
'alter table reports_interaction add column extra_entries integer not null default -1;',
_populate_interaction_entry_counts,
_interactions_constraint_or_idx,
+ 'alter table reports_reason add is_binary bool NOT NULL default False;',
]
# this will calculate the last possible version of the database