summaryrefslogtreecommitdiff
path: root/db/migrate/20160412173416_add_fields_to_ci_commit.rb
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