Welcome to mirror list, hosted at ThFree Co, Russian Federation.

20170301195939_rename_ci_commits_to_ci_pipelines.rb « migrate « db - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 4f061d9639214562447a7190311302110ab286f4 (plain)
1
2
3
4
5
6
7
8
9
10
class RenameCiCommitsToCiPipelines < ActiveRecord::Migration
  include Gitlab::Database::MigrationHelpers

  DOWNTIME = true
  DOWNTIME_REASON = 'Rename table ci_commits to ci_pipelines'

  def change
    rename_table 'ci_commits', 'ci_pipelines'
  end
end