aboutsummaryrefslogtreecommitdiffstats
path: root/server/sonar-web
diff options
context:
space:
mode:
authorSimon Brandhof <simon.brandhof@sonarsource.com>2016-07-01 15:07:23 +0200
committerSimon Brandhof <simon.brandhof@sonarsource.com>2016-07-04 10:25:06 +0200
commit1cc993f6dae7a22df577faa7101d06dc6c594974 (patch)
treef3b2cc8b3a1f45f29dae4bfd0c1c284dde31dcb5 /server/sonar-web
parentc2e857e42a85a723a08cd1344930c62f6bce5972 (diff)
downloadsonarqube-1cc993f6dae7a22df577faa7101d06dc6c594974.tar.gz
sonarqube-1cc993f6dae7a22df577faa7101d06dc6c594974.zip
SONAR-7780 Fix migration of PROJECTS.UUID_PATH
Diffstat (limited to 'server/sonar-web')
-rw-r--r--server/sonar-web/src/main/webapp/WEB-INF/db/migrate/1255_fix_project_uuid_of_developers.rb29
-rw-r--r--server/sonar-web/src/main/webapp/WEB-INF/db/migrate/1256_add_uuid_path_column_to_projects.rb (renamed from server/sonar-web/src/main/webapp/WEB-INF/db/migrate/1255_add_uuid_path_column_to_projects.rb)0
-rw-r--r--server/sonar-web/src/main/webapp/WEB-INF/db/migrate/1257_populate_uuid_path_column_on_projects.rb (renamed from server/sonar-web/src/main/webapp/WEB-INF/db/migrate/1256_populate_uuid_path_column_on_projects.rb)0
-rw-r--r--server/sonar-web/src/main/webapp/WEB-INF/db/migrate/1258_make_uuid_path_column_not_null_on_projects.rb (renamed from server/sonar-web/src/main/webapp/WEB-INF/db/migrate/1257_make_uuid_path_column_not_null_on_projects.rb)0
-rw-r--r--server/sonar-web/src/main/webapp/WEB-INF/db/migrate/1259_remove_users_password_when_not_local.rb (renamed from server/sonar-web/src/main/webapp/WEB-INF/db/migrate/1258_remove_users_password_when_not_local.rb)0
-rw-r--r--server/sonar-web/src/main/webapp/WEB-INF/db/migrate/1260_add_profile_key_to_activities.rb (renamed from server/sonar-web/src/main/webapp/WEB-INF/db/migrate/1259_add_profile_key_to_activities.rb)0
-rw-r--r--server/sonar-web/src/main/webapp/WEB-INF/db/migrate/1261_populate_profile_key_of_activities.rb (renamed from server/sonar-web/src/main/webapp/WEB-INF/db/migrate/1260_populate_profile_key_of_activities.rb)0
-rw-r--r--server/sonar-web/src/main/webapp/WEB-INF/db/migrate/1262_make_profile_key_not_null_on_activities.rb (renamed from server/sonar-web/src/main/webapp/WEB-INF/db/migrate/1261_make_profile_key_not_null_on_activities.rb)0
-rw-r--r--server/sonar-web/src/main/webapp/WEB-INF/db/migrate/1263_add_user_updated_at_to_rules_profiles.rb (renamed from server/sonar-web/src/main/webapp/WEB-INF/db/migrate/1262_add_user_updated_at_to_rules_profiles.rb)0
-rw-r--r--server/sonar-web/src/main/webapp/WEB-INF/db/migrate/1264_populate_user_updated_at_of_rules_profiles.rb (renamed from server/sonar-web/src/main/webapp/WEB-INF/db/migrate/1263_populate_user_updated_at_of_rules_profiles.rb)0
-rw-r--r--server/sonar-web/src/main/webapp/WEB-INF/db/migrate/1265_add_analysis_uuid_column_to_measures.rb (renamed from server/sonar-web/src/main/webapp/WEB-INF/db/migrate/1264_add_analysis_uuid_column_to_measures.rb)0
-rw-r--r--server/sonar-web/src/main/webapp/WEB-INF/db/migrate/1266_populate_analysis_uuid_on_measures.rb (renamed from server/sonar-web/src/main/webapp/WEB-INF/db/migrate/1265_populate_analysis_uuid_on_measures.rb)0
-rw-r--r--server/sonar-web/src/main/webapp/WEB-INF/db/migrate/1267_clean_measures_with_null_analysis_uuid.rb (renamed from server/sonar-web/src/main/webapp/WEB-INF/db/migrate/1266_clean_measures_with_null_analysis_uuid.rb)0
-rw-r--r--server/sonar-web/src/main/webapp/WEB-INF/db/migrate/1268_make_analysis_uuid_not_null_on_measures.rb (renamed from server/sonar-web/src/main/webapp/WEB-INF/db/migrate/1267_make_analysis_uuid_not_null_on_measures.rb)0
14 files changed, 29 insertions, 0 deletions
diff --git a/server/sonar-web/src/main/webapp/WEB-INF/db/migrate/1255_fix_project_uuid_of_developers.rb b/server/sonar-web/src/main/webapp/WEB-INF/db/migrate/1255_fix_project_uuid_of_developers.rb
new file mode 100644
index 00000000000..568fa301801
--- /dev/null
+++ b/server/sonar-web/src/main/webapp/WEB-INF/db/migrate/1255_fix_project_uuid_of_developers.rb
@@ -0,0 +1,29 @@
+#
+# 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 6.0
+#
+class FixProjectUuidOfDevelopers < ActiveRecord::Migration
+
+ def self.up
+ execute_java_migration('org.sonar.db.version.v60.FixProjectUuidOfDevelopers')
+ end
+end
diff --git a/server/sonar-web/src/main/webapp/WEB-INF/db/migrate/1255_add_uuid_path_column_to_projects.rb b/server/sonar-web/src/main/webapp/WEB-INF/db/migrate/1256_add_uuid_path_column_to_projects.rb
index 2a9d667e1b3..2a9d667e1b3 100644
--- a/server/sonar-web/src/main/webapp/WEB-INF/db/migrate/1255_add_uuid_path_column_to_projects.rb
+++ b/server/sonar-web/src/main/webapp/WEB-INF/db/migrate/1256_add_uuid_path_column_to_projects.rb
diff --git a/server/sonar-web/src/main/webapp/WEB-INF/db/migrate/1256_populate_uuid_path_column_on_projects.rb b/server/sonar-web/src/main/webapp/WEB-INF/db/migrate/1257_populate_uuid_path_column_on_projects.rb
index b71406b8427..b71406b8427 100644
--- a/server/sonar-web/src/main/webapp/WEB-INF/db/migrate/1256_populate_uuid_path_column_on_projects.rb
+++ b/server/sonar-web/src/main/webapp/WEB-INF/db/migrate/1257_populate_uuid_path_column_on_projects.rb
diff --git a/server/sonar-web/src/main/webapp/WEB-INF/db/migrate/1257_make_uuid_path_column_not_null_on_projects.rb b/server/sonar-web/src/main/webapp/WEB-INF/db/migrate/1258_make_uuid_path_column_not_null_on_projects.rb
index 7dd387be92b..7dd387be92b 100644
--- a/server/sonar-web/src/main/webapp/WEB-INF/db/migrate/1257_make_uuid_path_column_not_null_on_projects.rb
+++ b/server/sonar-web/src/main/webapp/WEB-INF/db/migrate/1258_make_uuid_path_column_not_null_on_projects.rb
diff --git a/server/sonar-web/src/main/webapp/WEB-INF/db/migrate/1258_remove_users_password_when_not_local.rb b/server/sonar-web/src/main/webapp/WEB-INF/db/migrate/1259_remove_users_password_when_not_local.rb
index 1d8f48a4d4a..1d8f48a4d4a 100644
--- a/server/sonar-web/src/main/webapp/WEB-INF/db/migrate/1258_remove_users_password_when_not_local.rb
+++ b/server/sonar-web/src/main/webapp/WEB-INF/db/migrate/1259_remove_users_password_when_not_local.rb
diff --git a/server/sonar-web/src/main/webapp/WEB-INF/db/migrate/1259_add_profile_key_to_activities.rb b/server/sonar-web/src/main/webapp/WEB-INF/db/migrate/1260_add_profile_key_to_activities.rb
index e8797025bc8..e8797025bc8 100644
--- a/server/sonar-web/src/main/webapp/WEB-INF/db/migrate/1259_add_profile_key_to_activities.rb
+++ b/server/sonar-web/src/main/webapp/WEB-INF/db/migrate/1260_add_profile_key_to_activities.rb
diff --git a/server/sonar-web/src/main/webapp/WEB-INF/db/migrate/1260_populate_profile_key_of_activities.rb b/server/sonar-web/src/main/webapp/WEB-INF/db/migrate/1261_populate_profile_key_of_activities.rb
index bd92cfafe2c..bd92cfafe2c 100644
--- a/server/sonar-web/src/main/webapp/WEB-INF/db/migrate/1260_populate_profile_key_of_activities.rb
+++ b/server/sonar-web/src/main/webapp/WEB-INF/db/migrate/1261_populate_profile_key_of_activities.rb
diff --git a/server/sonar-web/src/main/webapp/WEB-INF/db/migrate/1261_make_profile_key_not_null_on_activities.rb b/server/sonar-web/src/main/webapp/WEB-INF/db/migrate/1262_make_profile_key_not_null_on_activities.rb
index cb3b366a1de..cb3b366a1de 100644
--- a/server/sonar-web/src/main/webapp/WEB-INF/db/migrate/1261_make_profile_key_not_null_on_activities.rb
+++ b/server/sonar-web/src/main/webapp/WEB-INF/db/migrate/1262_make_profile_key_not_null_on_activities.rb
diff --git a/server/sonar-web/src/main/webapp/WEB-INF/db/migrate/1262_add_user_updated_at_to_rules_profiles.rb b/server/sonar-web/src/main/webapp/WEB-INF/db/migrate/1263_add_user_updated_at_to_rules_profiles.rb
index e3d4d5e52a4..e3d4d5e52a4 100644
--- a/server/sonar-web/src/main/webapp/WEB-INF/db/migrate/1262_add_user_updated_at_to_rules_profiles.rb
+++ b/server/sonar-web/src/main/webapp/WEB-INF/db/migrate/1263_add_user_updated_at_to_rules_profiles.rb
diff --git a/server/sonar-web/src/main/webapp/WEB-INF/db/migrate/1263_populate_user_updated_at_of_rules_profiles.rb b/server/sonar-web/src/main/webapp/WEB-INF/db/migrate/1264_populate_user_updated_at_of_rules_profiles.rb
index 44aea88e73d..44aea88e73d 100644
--- a/server/sonar-web/src/main/webapp/WEB-INF/db/migrate/1263_populate_user_updated_at_of_rules_profiles.rb
+++ b/server/sonar-web/src/main/webapp/WEB-INF/db/migrate/1264_populate_user_updated_at_of_rules_profiles.rb
diff --git a/server/sonar-web/src/main/webapp/WEB-INF/db/migrate/1264_add_analysis_uuid_column_to_measures.rb b/server/sonar-web/src/main/webapp/WEB-INF/db/migrate/1265_add_analysis_uuid_column_to_measures.rb
index 20544694def..20544694def 100644
--- a/server/sonar-web/src/main/webapp/WEB-INF/db/migrate/1264_add_analysis_uuid_column_to_measures.rb
+++ b/server/sonar-web/src/main/webapp/WEB-INF/db/migrate/1265_add_analysis_uuid_column_to_measures.rb
diff --git a/server/sonar-web/src/main/webapp/WEB-INF/db/migrate/1265_populate_analysis_uuid_on_measures.rb b/server/sonar-web/src/main/webapp/WEB-INF/db/migrate/1266_populate_analysis_uuid_on_measures.rb
index 8e4858914f6..8e4858914f6 100644
--- a/server/sonar-web/src/main/webapp/WEB-INF/db/migrate/1265_populate_analysis_uuid_on_measures.rb
+++ b/server/sonar-web/src/main/webapp/WEB-INF/db/migrate/1266_populate_analysis_uuid_on_measures.rb
diff --git a/server/sonar-web/src/main/webapp/WEB-INF/db/migrate/1266_clean_measures_with_null_analysis_uuid.rb b/server/sonar-web/src/main/webapp/WEB-INF/db/migrate/1267_clean_measures_with_null_analysis_uuid.rb
index 7cfe63afcb9..7cfe63afcb9 100644
--- a/server/sonar-web/src/main/webapp/WEB-INF/db/migrate/1266_clean_measures_with_null_analysis_uuid.rb
+++ b/server/sonar-web/src/main/webapp/WEB-INF/db/migrate/1267_clean_measures_with_null_analysis_uuid.rb
diff --git a/server/sonar-web/src/main/webapp/WEB-INF/db/migrate/1267_make_analysis_uuid_not_null_on_measures.rb b/server/sonar-web/src/main/webapp/WEB-INF/db/migrate/1268_make_analysis_uuid_not_null_on_measures.rb
index 2faf467f2d3..2faf467f2d3 100644
--- a/server/sonar-web/src/main/webapp/WEB-INF/db/migrate/1267_make_analysis_uuid_not_null_on_measures.rb
+++ b/server/sonar-web/src/main/webapp/WEB-INF/db/migrate/1268_make_analysis_uuid_not_null_on_measures.rb