debian-mirror-gitlab/db/migrate/20160202091601_add_erasable_to_ci_build.rb

8 lines
221 B
Ruby
Raw Normal View History

# rubocop:disable all
2016-04-02 18:10:28 +05:30
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