Ofer Schreiber has submitted this change and it was merged.
Change subject: core: Adding cleandb.sh script
......................................................................
core: Adding cleandb.sh script
The script enables to drop all database objects installed by oVirt and
leaving a clean database.
Basic usage:
cleandb -u <user> -d <database>
Change-Id: I7ff33e4ccb8cb66bbe06f5d1c8a00f22d28a2e31
Signed-off-by: Eli Mesika <emesika(a)redhat.com>
Signed-off-by: Alon Bar-Lev <alonbl(a)redhat.com>
---
A packaging/dbscripts/cleandb.sh
M packaging/dbscripts/common_sp.sql
M packaging/dbscripts/dbfunctions.sh
M packaging/setup/ovirt_engine_setup/database.py
M packaging/setup/plugins/ovirt-engine-remove/db/clear.py
5 files changed, 105 insertions(+), 93 deletions(-)
Approvals:
Ofer Schreiber: Verified; Looks good to me, approved
--
To view, visit
http://gerrit.ovirt.org/16832
To unsubscribe, visit
http://gerrit.ovirt.org/settings
Gerrit-MessageType: merged
Gerrit-Change-Id: I7ff33e4ccb8cb66bbe06f5d1c8a00f22d28a2e31
Gerrit-PatchSet: 4
Gerrit-Project: ovirt-engine
Gerrit-Branch: master
Gerrit-Owner: Eli Mesika <emesika(a)redhat.com>
Gerrit-Reviewer: Alon Bar-Lev <alonbl(a)redhat.com>
Gerrit-Reviewer: Eli Mesika <emesika(a)redhat.com>
Gerrit-Reviewer: Ofer Schreiber <oschreib(a)redhat.com>
Gerrit-Reviewer: Sandro Bonazzola <sbonazzo(a)redhat.com>
Gerrit-Reviewer: Yair Zaslavsky <yzaslavs(a)redhat.com>