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: 8a2076838483ec7ca69b5338ab7771570753a01e (plain)
1
2
3
4
5
6
7
8
9
10
11
class DropUnusedCiTables < ActiveRecord::Migration[4.2]
  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