summaryrefslogtreecommitdiff
path: root/db/migrate/20160202091601_add_erasable_to_ci_build.rb
blob: 767ae160d0855631a1dcaf620cf4fcd8159d6789 (plain)
1
2
3
4
5
6
7
# rubocop:disable all
class AddErasableToCiBuild < ActiveRecord::Migration
  def change
    add_reference :ci_builds, :erased_by, references: :users, index: true
    add_column :ci_builds, :erased_at, :datetime
  end
end