gitlab-org--gitlab-foss/db/migrate/20160202091601_add_erasable_to_ci_build.rb

6 lines
199 B
Ruby

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