2016-06-09 08:39:16 -04:00
|
|
|
# rubocop:disable all
|
2016-03-31 13:51:28 -04:00
|
|
|
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
|
2016-04-13 09:46:35 -04:00
|
|
|
add_column :ci_commits, :duration, :integer
|
2016-03-31 13:51:28 -04:00
|
|
|
end
|
|
|
|
end
|