debian-mirror-gitlab/db/migrate/20160202091601_add_erasable_to_ci_build.rb
2019-02-15 15:39:39 +05:30

7 lines
226 B
Ruby

# rubocop:disable all
class AddErasableToCiBuild < ActiveRecord::Migration[4.2]
def change
add_reference :ci_builds, :erased_by, references: :users, index: true
add_column :ci_builds, :erased_at, :datetime
end
end