debian-mirror-gitlab/db/migrate/20160412173416_add_fields_to_ci_commit.rb
2018-12-23 12:14:25 +05:30

9 lines
300 B
Ruby

# rubocop:disable all
class AddFieldsToCiCommit < ActiveRecord::Migration[4.2]
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