debian-mirror-gitlab/db/migrate/20160412173416_add_fields_to_ci_commit.rb

10 lines
295 B
Ruby
Raw Normal View History

# rubocop:disable all
2019-01-03 12:48:30 +05:30
class AddFieldsToCiCommit < ActiveRecord::Migration
2016-06-02 11:05:42 +05:30
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