2016-06-09 12:39:16 +00:00
|
|
|
# rubocop:disable all
|
2018-11-13 07:27:31 +00:00
|
|
|
class AddFieldsToCiCommit < ActiveRecord::Migration[4.2]
|
2016-03-31 17:51:28 +00:00
|
|
|
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 13:46:35 +00:00
|
|
|
add_column :ci_commits, :duration, :integer
|
2016-03-31 17:51:28 +00:00
|
|
|
end
|
|
|
|
end
|