diff options
author | Sébastien Lesaint <sebastien.lesaint@sonarsource.com> | 2016-10-03 14:16:47 +0200 |
---|---|---|
committer | Sébastien Lesaint <sebastien.lesaint@sonarsource.com> | 2016-10-12 12:24:28 +0200 |
commit | d01fd740c7dbfddc5f7c4a30514c12c8a3578dd2 (patch) | |
tree | 9a7b7333a0e40c00778126703b780c00a26f7b87 /server/sonar-web | |
parent | effa3848049de0a87331698d8a28435fff9e3d55 (diff) | |
download | sonarqube-d01fd740c7dbfddc5f7c4a30514c12c8a3578dd2.tar.gz sonarqube-d01fd740c7dbfddc5f7c4a30514c12c8a3578dd2.zip |
SONAR-8155 SONAR-8156 add root column to table USERS
Diffstat (limited to 'server/sonar-web')
3 files changed, 87 insertions, 0 deletions
diff --git a/server/sonar-web/src/main/webapp/WEB-INF/db/migrate/1403_add_root_column_on_table_users.rb b/server/sonar-web/src/main/webapp/WEB-INF/db/migrate/1403_add_root_column_on_table_users.rb new file mode 100644 index 00000000000..154adcc8b60 --- /dev/null +++ b/server/sonar-web/src/main/webapp/WEB-INF/db/migrate/1403_add_root_column_on_table_users.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.2 +# +class AddRootColumnOnTableUsers < ActiveRecord::Migration + + def self.up + execute_java_migration('org.sonar.db.version.v62.AddIsRootColumnOnTableUsers') + end +end diff --git a/server/sonar-web/src/main/webapp/WEB-INF/db/migrate/1404_populate_root_column_on_table_users.rb b/server/sonar-web/src/main/webapp/WEB-INF/db/migrate/1404_populate_root_column_on_table_users.rb new file mode 100644 index 00000000000..d15774555e1 --- /dev/null +++ b/server/sonar-web/src/main/webapp/WEB-INF/db/migrate/1404_populate_root_column_on_table_users.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.2 +# +class PopulateRootColumnOnTableUsers < ActiveRecord::Migration + + def self.up + execute_java_migration('org.sonar.db.version.v62.PopulateIsRootColumnOnTableUsers') + end +end diff --git a/server/sonar-web/src/main/webapp/WEB-INF/db/migrate/1405_make_root_column_not_null_on_table_users.rb b/server/sonar-web/src/main/webapp/WEB-INF/db/migrate/1405_make_root_column_not_null_on_table_users.rb new file mode 100644 index 00000000000..97d9dbea5c7 --- /dev/null +++ b/server/sonar-web/src/main/webapp/WEB-INF/db/migrate/1405_make_root_column_not_null_on_table_users.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.2 +# +class MakeRootColumnNotNullOnTableUsers < ActiveRecord::Migration + + def self.up + execute_java_migration('org.sonar.db.version.v62.MakeRootColumnNotNullOnTableUsers') + end +end |