debian-mirror-gitlab/db/migrate/20160202091601_add_erasable_to_ci_build.rb
2018-12-23 12:14:25 +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