modules/core/dbutils/pom.xml | 2 +- modules/core/dbutils/src/main/scripts/dbupgrade/db-upgrade.xml | 9 +++++++-- 2 files changed, 8 insertions(+), 3 deletions(-)
New commits: commit 84e7e552a2ee7d05aff8eb489c66cdfe6adf2bd0 Author: Stefan Negrea snegrea@redhat.com Date: Tue Oct 2 11:43:10 2012 -0500
[BZ 861127] Revert back to sequential db upgrade ids.
diff --git a/modules/core/dbutils/pom.xml b/modules/core/dbutils/pom.xml index becb85e..107d490 100644 --- a/modules/core/dbutils/pom.xml +++ b/modules/core/dbutils/pom.xml @@ -17,7 +17,7 @@ <description>Database schema setup, upgrade and other utilities</description>
<properties> - <db.schema.version>2.125</db.schema.version> + <db.schema.version>2.124</db.schema.version> <rhq.ds.type-mapping>${rhq.test.ds.type-mapping}</rhq.ds.type-mapping> <rhq.ds.server-name>${rhq.test.ds.server-name}</rhq.ds.server-name> <rhq.ds.db-name>${rhq.test.ds.db-name}</rhq.ds.db-name> diff --git a/modules/core/dbutils/src/main/scripts/dbupgrade/db-upgrade.xml b/modules/core/dbutils/src/main/scripts/dbupgrade/db-upgrade.xml index 00722db..84fbf5e 100644 --- a/modules/core/dbutils/src/main/scripts/dbupgrade/db-upgrade.xml +++ b/modules/core/dbutils/src/main/scripts/dbupgrade/db-upgrade.xml @@ -4037,20 +4037,25 @@
</schemaSpec>
-<!-- RHQ 4.5.0 uses DB Schema 2.125 --> - <schemaSpec version="2.125"> +<!-- RHQ 4.5.0 uses DB Schema 2.123 --> + + <schemaSpec version="2.124"> + <schema-directSQL> <statement desc="Update the NULL to 0 for MIN_ENTRIES"> UPDATE RHQ_CONFIG_PROP_DEF SET MIN_ENTRIES = 0 WHERE MIN_ENTRIES IS NULL + AND DTYPE = 'list' </statement> <statement desc="Update the NULL to 32767 for MAX_ENTRIES"> UPDATE RHQ_CONFIG_PROP_DEF SET MAX_ENTRIES = 32767 WHERE MAX_ENTRIES IS NULL + AND DTYPE = 'list' </statement> </schema-directSQL> + </schemaSpec>
</dbupgrade>
rhq-commits@lists.fedorahosted.org