debian-mirror-gitlab/db/migrate/20160202091601_add_erasable_to_ci_build.rb
2016-04-02 18:10:28 +05:30

6 lines
199 B
Ruby

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