Welcome to mirror list, hosted at ThFree Co, Russian Federation.

20160202091601_add_erasable_to_ci_build.rb « migrate « db - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 214028bd8d3e9fbe7c134bd0c47e0813c090c443 (plain)
1
2
3
4
5
6
7
# 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