diff options
author | Simon Brandhof <simon.brandhof@sonarsource.com> | 2014-09-15 15:57:17 +0200 |
---|---|---|
committer | Simon Brandhof <simon.brandhof@sonarsource.com> | 2014-09-15 15:57:17 +0200 |
commit | a31b72f90bc2fb0f04abf6f9646436e257204d27 (patch) | |
tree | ebe2ae50303bad5c3a3c41f508b1dfe9ffeb7168 /server/sonar-web/src/main | |
parent | 3512475d7d4f437403b482f43bbf4790b8736cca (diff) | |
parent | add64436be2fc275aa2578dc6a4eeab427b41208 (diff) | |
download | sonarqube-a31b72f90bc2fb0f04abf6f9646436e257204d27.tar.gz sonarqube-a31b72f90bc2fb0f04abf6f9646436e257204d27.zip |
Merge branch 'branch-4.5'
Conflicts:
server/sonar-server/src/main/java/org/sonar/server/db/migrations/DatabaseMigrations.java
sonar-core/src/main/java/org/sonar/core/persistence/DatabaseVersion.java
sonar-core/src/main/resources/org/sonar/core/persistence/rows-h2.sql
Diffstat (limited to 'server/sonar-web/src/main')
-rw-r--r-- | server/sonar-web/src/main/webapp/WEB-INF/db/migrate/584_delete_measures_on_deleted_profiles.rb | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/server/sonar-web/src/main/webapp/WEB-INF/db/migrate/584_delete_measures_on_deleted_profiles.rb b/server/sonar-web/src/main/webapp/WEB-INF/db/migrate/584_delete_measures_on_deleted_profiles.rb new file mode 100644 index 00000000000..f414494f2ba --- /dev/null +++ b/server/sonar-web/src/main/webapp/WEB-INF/db/migrate/584_delete_measures_on_deleted_profiles.rb @@ -0,0 +1,30 @@ +# +# SonarQube, open source software quality management tool. +# Copyright (C) 2008-2014 SonarSource +# mailto:contact AT sonarsource DOT com +# +# SonarQube is free software; you can redistribute it and/or +# modify it under the terms of the GNU Lesser General Public +# License as published by the Free Software Foundation; either +# version 3 of the License, or (at your option) any later version. +# +# SonarQube is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +# Lesser General Public License for more details. +# +# You should have received a copy of the GNU Lesser General Public License +# along with this program; if not, write to the Free Software Foundation, +# Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. +# + +# +# SonarQube 4.5 +# +class DeleteMeasuresOnDeletedProfiles < ActiveRecord::Migration + + def self.up + execute_java_migration 'org.sonar.server.db.migrations.v45.DeleteMeasuresOnDeletedProfilesMigration' + end + +end |