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

8 lines
221 B
Ruby
Raw Normal View History

# 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