summaryrefslogtreecommitdiff
path: root/db/migrate/20160202091601_add_erasable_to_ci_build.rb
blob: f9912f2274e15c90838a1f3542afd190565ef522 (plain)
1
2
3
4
5
6
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