]> source.dussan.org Git - sonarqube.git/commit
SONAR-6840 Group migrations touching same table 514/head
authorJulien Lancelot <julien.lancelot@sonarsource.com>
Thu, 17 Sep 2015 16:14:59 +0000 (18:14 +0200)
committerJulien Lancelot <julien.lancelot@sonarsource.com>
Fri, 18 Sep 2015 13:35:03 +0000 (15:35 +0200)
commitf1fe6abd05f4e619c67043d0b76d452bcb812347
treec7be0305f58171e1f93d192b06bc19286051ffc9
parent21f0481e9ffd9c9130c58e7331f3dfad8f40b9da
SONAR-6840 Group migrations touching same table

 Migrations that are done on the same table are now executed with only one SQL query
12 files changed:
server/sonar-web/src/main/webapp/WEB-INF/db/migrate/928_increase_precision_of_numerics.rb [deleted file]
server/sonar-web/src/main/webapp/WEB-INF/db/migrate/931_increase_precision_of_numerics.rb [new file with mode: 0644]
sonar-db/src/main/java/org/sonar/db/version/AlterColumnsBuilder.java [new file with mode: 0644]
sonar-db/src/main/java/org/sonar/db/version/DatabaseVersion.java
sonar-db/src/main/java/org/sonar/db/version/DecimalColumnDef.java [new file with mode: 0644]
sonar-db/src/main/java/org/sonar/db/version/MigrationStepModule.java
sonar-db/src/main/java/org/sonar/db/version/v52/IncreasePrecisionOfNumerics.java [new file with mode: 0644]
sonar-db/src/main/resources/org/sonar/db/version/rows-h2.sql
sonar-db/src/test/java/org/sonar/db/version/AlterColumnsBuilderTest.java [new file with mode: 0644]
sonar-db/src/test/java/org/sonar/db/version/DecimalColumnDefTest.java [new file with mode: 0644]
sonar-db/src/test/java/org/sonar/db/version/MigrationStepModuleTest.java
sonar-db/src/test/java/org/sonar/db/version/v52/IncreasePrecisionOfNumericsTest.java [new file with mode: 0644]