diff options
author | Julien Lancelot <julien.lancelot@sonarsource.com> | 2016-07-18 11:56:29 +0200 |
---|---|---|
committer | Julien Lancelot <julien.lancelot@sonarsource.com> | 2016-07-18 12:08:03 +0200 |
commit | b8ef8b4f80219e756f9a0f6a84243104b51387c7 (patch) | |
tree | d067baef0e71d301068f4ddf7ccf9d87cc91f5de /server | |
parent | af61ada2bb75d85926229dfd7d23596057c325f0 (diff) | |
download | sonarqube-b8ef8b4f80219e756f9a0f6a84243104b51387c7.tar.gz sonarqube-b8ef8b4f80219e756f9a0f6a84243104b51387c7.zip |
SONAR-7686 Add migration to fix null external identity
Diffstat (limited to 'server')
-rw-r--r-- | server/sonar-web/src/main/webapp/WEB-INF/db/migrate/1153_update_users_external_identity_when_empty.rb | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/server/sonar-web/src/main/webapp/WEB-INF/db/migrate/1153_update_users_external_identity_when_empty.rb b/server/sonar-web/src/main/webapp/WEB-INF/db/migrate/1153_update_users_external_identity_when_empty.rb new file mode 100644 index 00000000000..fdfe843b69a --- /dev/null +++ b/server/sonar-web/src/main/webapp/WEB-INF/db/migrate/1153_update_users_external_identity_when_empty.rb @@ -0,0 +1,31 @@ +# +# 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 5.6.1 +# SONAR-7686 +# +class UpdateUsersExternalIdentityWhenEmpty < ActiveRecord::Migration + + def self.up + execute_java_migration('org.sonar.db.version.v56.UpdateUsersExternalIdentityWhenEmpty') + end + +end |