From 5b3ffd488a8b5f727a531a3b7c3ca419bb53d04e Mon Sep 17 00:00:00 2001 From: Tim Laszlo Date: Tue, 7 Aug 2012 13:37:33 -0500 Subject: 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 --- src/lib/Bcfg2/Server/Reports/Updater/Changes/1_2_x.py | 15 --------------- 1 file changed, 15 deletions(-) delete mode 100644 src/lib/Bcfg2/Server/Reports/Updater/Changes/1_2_x.py (limited to 'src/lib/Bcfg2/Server/Reports/Updater/Changes/1_2_x.py') diff --git a/src/lib/Bcfg2/Server/Reports/Updater/Changes/1_2_x.py b/src/lib/Bcfg2/Server/Reports/Updater/Changes/1_2_x.py deleted file mode 100644 index 22bd937c2..000000000 --- a/src/lib/Bcfg2/Server/Reports/Updater/Changes/1_2_x.py +++ /dev/null @@ -1,15 +0,0 @@ -""" -1_2_x.py - -This file should contain updates relevant to the 1.2.x branches ONLY. -The updates() method must be defined and it should return an Updater object -""" -from Bcfg2.Server.Reports.Updater import Updater -from Bcfg2.Server.Reports.Updater.Routines import updatercallable - -def updates(): - fixes = Updater("1.2") - fixes.override_base_version(18) # Do not do this in new code - fixes.add('alter table reports_reason add is_sensitive bool NOT NULL default False;') - return fixes - -- cgit v1.2.3-1-g7c22