diff options
author | Holger Weiß <holger@zedat.fu-berlin.de> | 2011-06-29 19:12:23 +0200 |
---|---|---|
committer | Holger Weiß <holger@zedat.fu-berlin.de> | 2011-06-29 19:12:23 +0200 |
commit | b263182adabe4a1fff32ed3a1ef765b5e9a68f67 (patch) | |
tree | 7990d0ada8799b274f9a692ec9fb4d51ee211c57 /src/lib/Server/Reports/updatefix.py | |
parent | a702a5ee53ae8cb5870844237fe88c55dac97734 (diff) | |
download | bcfg2-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.py | 1 |
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 |