diff options
author | Teryk Bellahsene <teryk.bellahsene@sonarsource.com> | 2016-06-24 17:47:01 +0200 |
---|---|---|
committer | Teryk Bellahsene <teryk.bellahsene@sonarsource.com> | 2016-06-29 11:06:00 +0200 |
commit | 8823c53764c4304a32b39c4b9a2506a7e8ffc4e2 (patch) | |
tree | 75462b22a0f02f0974d8a62f8cdf4617cb2edefc /server/sonar-web | |
parent | da6dbbc8e24d9a2150b5f06a6c300c541a3df1cb (diff) | |
download | sonarqube-8823c53764c4304a32b39c4b9a2506a7e8ffc4e2.tar.gz sonarqube-8823c53764c4304a32b39c4b9a2506a7e8ffc4e2.zip |
SONAR-7824 Make DB column ACTIVITIES.PROFILE_KEY not null
Diffstat (limited to 'server/sonar-web')
-rw-r--r-- | server/sonar-web/src/main/webapp/WEB-INF/db/migrate/1261_make_profile_key_not_null_on_activities.rb | 28 |
1 files changed, 28 insertions, 0 deletions
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/1261_make_profile_key_not_null_on_activities.rb new file mode 100644 index 00000000000..cb3b366a1de --- /dev/null +++ b/server/sonar-web/src/main/webapp/WEB-INF/db/migrate/1261_make_profile_key_not_null_on_activities.rb @@ -0,0 +1,28 @@ +# +# 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 +# SONAR-7824 +# +class MakeProfileKeyNotNullOnActivities < ActiveRecord::Migration + def self.up + execute_java_migration('org.sonar.db.version.v60.MakeProfileKeyNotNullOnActivities') + end +end |