summaryrefslogtreecommitdiff
path: root/db/migrate/20170425112628_remove_foreigh_key_ci_trigger_schedules.rb
blob: 6116ca59ee4d10e1453c59963951997c75455ab8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
class RemoveForeighKeyCiTriggerSchedules < ActiveRecord::Migration
  include Gitlab::Database::MigrationHelpers

  DOWNTIME = false

  def up
    remove_foreign_key :ci_trigger_schedules, column: :trigger_id
  end

  def down
    # no op, the foreign key should not have been here
  end
end