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

7 lines
199 B
Ruby
Raw Normal View History

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