3 * Copyright (C) 2009-2017 SonarSource SA
4 * mailto:info AT sonarsource DOT com
6 * This program is free software; you can redistribute it and/or
7 * modify it under the terms of the GNU Lesser General Public
8 * License as published by the Free Software Foundation; either
9 * version 3 of the License, or (at your option) any later version.
11 * This program is distributed in the hope that it will be useful,
12 * but WITHOUT ANY WARRANTY; without even the implied warranty of
13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
14 * Lesser General Public License for more details.
16 * You should have received a copy of the GNU Lesser General Public License
17 * along with this program; if not, write to the Free Software Foundation,
18 * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
21 package org.sonar.server.platform.db.migration.version.v66;
23 import org.sonar.server.platform.db.migration.step.MigrationStepRegistry;
24 import org.sonar.server.platform.db.migration.version.DbVersion;
26 public class DbVersion66 implements DbVersion {
28 public void addSteps(MigrationStepRegistry registry) {
30 .add(1801, "Create table CE task characteristics", CreateTableCeTaskCharacteristics.class)
31 .add(1802, "Delete leak settings on views", DeleteLeakSettingsOnViews.class)
32 .add(1803, "Fix empty USERS.EXTERNAL_IDENTITY and USERS.EXTERNAL_IDENTITY_PROVIDER", FixEmptyIdentityProviderInUsers.class)
33 .add(1804, "Add rules.plugin_key", AddPluginKeyToRules.class)
34 .add(1805, "Create table plugins", CreateTablePlugins.class)
35 .add(1806, "Create table project_branches", CreateTableProjectBranches.class)
36 .add(1807, "Add on project_branches key", AddIndexOnProjectBranchesKey.class)
37 .add(1808, "Add branch column to projects table", AddBranchColumnToProjectsTable.class)
38 .add(1809, "Populate project_branches with existing main branches", PopulateMainProjectBranches.class)
39 .add(1810, "Add ce_activity.error_type", AddErrorTypeColumnToCeActivityTable.class)
40 .add(1811, "Create table qprofile_edit_users", CreateTableQProfileEditUsers.class)
41 .add(1812, "Create table qprofile_edit_groups", CreateTableQProfileEditGroups.class)
42 .add(1813, "Drop PR columns from project_brances", DropPrColumnsFromProjectBranches.class);