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

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

  # Set this constant to true if this migration requires downtime.
  DOWNTIME = false

  def change
    drop_table(:ci_services)
    drop_table(:ci_web_hooks)
  end
end