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

20171121160421_remove_merge_request_diff_st_commits_and_st_diffs.rb « post_migrate « db - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 93a97993f1fc49d5f93f0d49222d2b3a451a186f (plain)
1
2
3
4
5
6
7
8
9
10
class RemoveMergeRequestDiffStCommitsAndStDiffs < ActiveRecord::Migration[4.2]
  include Gitlab::Database::MigrationHelpers

  DOWNTIME = false

  def change
    remove_column :merge_request_diffs, :st_commits, :text
    remove_column :merge_request_diffs, :st_diffs, :text
  end
end