summaryrefslogtreecommitdiffstats
path: root/src/lib/Server/Reports/updatefix.py
diff options
context:
space:
mode:
authorHolger Weiß <holger@zedat.fu-berlin.de>2011-06-29 19:12:23 +0200
committerHolger Weiß <holger@zedat.fu-berlin.de>2011-06-29 19:12:23 +0200
commitb263182adabe4a1fff32ed3a1ef765b5e9a68f67 (patch)
tree7990d0ada8799b274f9a692ec9fb4d51ee211c57 /src/lib/Server/Reports/updatefix.py
parenta702a5ee53ae8cb5870844237fe88c55dac97734 (diff)
downloadbcfg2-b263182adabe4a1fff32ed3a1ef765b5e9a68f67.tar.gz
bcfg2-b263182adabe4a1fff32ed3a1ef765b5e9a68f67.tar.bz2
bcfg2-b263182adabe4a1fff32ed3a1ef765b5e9a68f67.zip
New database field: "is_sensitive"
The new "entry.reason.is_sensitive" flag indicates whether the file contents/diffs were omitted from the database due to the "sensitive" <Path> attribute.
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 4d3c964f5..7cebaaca9 100644
--- a/src/lib/Server/Reports/updatefix.py
+++ b/src/lib/Server/Reports/updatefix.py
@@ -102,6 +102,7 @@ _fixes = [_merge_database_table_entries,
_populate_interaction_entry_counts,
_interactions_constraint_or_idx,
'alter table reports_reason add is_binary bool NOT NULL default False;',
+ 'alter table reports_reason add is_sensitive bool NOT NULL default False;',
]
# this will calculate the last possible version of the database