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

20160412173416_add_fields_to_ci_commit.rb « migrate « db - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 00162af5cdadd0eea8b1511df8f84c4b61765eb3 (plain)
1
2
3
4
5
6
7
8
9
# rubocop:disable all
class AddFieldsToCiCommit < ActiveRecord::Migration
  def change
    add_column :ci_commits, :status, :string
    add_column :ci_commits, :started_at, :timestamp
    add_column :ci_commits, :finished_at, :timestamp
    add_column :ci_commits, :duration, :integer
  end
end