summaryrefslogtreecommitdiff
path: root/db/migrate/20160412173416_add_fields_to_ci_commit.rb
blob: 125956a3ddd9c784b99b93aaf6e7365b4247e68e (plain)
1
2
3
4
5
6
7
8
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