summaryrefslogtreecommitdiffstats
path: root/server/sonar-web/src
diff options
context:
space:
mode:
authorJulien Lancelot <julien.lancelot@sonarsource.com>2016-03-15 13:55:10 +0100
committerJulien Lancelot <julien.lancelot@sonarsource.com>2016-03-21 15:03:28 +0100
commit22650cfd9cae653a9cdb14705350e617166f5ab0 (patch)
tree3805cb7ba8733cbe8bd9417823f3dee069ed71de /server/sonar-web/src
parent8de0a02ae5cb744875bd8a79734455ea6e88f09c (diff)
downloadsonarqube-22650cfd9cae653a9cdb14705350e617166f5ab0.tar.gz
sonarqube-22650cfd9cae653a9cdb14705350e617166f5ab0.zip
SONAR-7254 Add USERS.LOCAL column
Diffstat (limited to 'server/sonar-web/src')
-rw-r--r--server/sonar-web/src/main/webapp/WEB-INF/db/migrate/1119_add_users_local_column.rb31
1 files changed, 31 insertions, 0 deletions
diff --git a/server/sonar-web/src/main/webapp/WEB-INF/db/migrate/1119_add_users_local_column.rb b/server/sonar-web/src/main/webapp/WEB-INF/db/migrate/1119_add_users_local_column.rb
new file mode 100644
index 00000000000..339033edeed
--- /dev/null
+++ b/server/sonar-web/src/main/webapp/WEB-INF/db/migrate/1119_add_users_local_column.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.5
+# SONAR-7254
+#
+class AddUsersLocalColumn < ActiveRecord::Migration
+
+ def self.up
+ add_column 'users', 'user_local', :boolean
+ end
+
+end