Sha256: 39f5017eaac9f22e4e4eb10202e3a718fcfddd0a197aa3065a5c295e8e4b99a0

Contents?: true

Size: 275 Bytes

Versions: 25

Compression:

Stored size: 275 Bytes

Contents

class AddBaseInfoToPullRequest < ActiveRecord::Migration[5.1]
  def change
    add_column :pull_requests, :base_ref, :string, limit: 1024
    add_column :pull_requests, :base_commit_id, :integer
    add_foreign_key :pull_requests, :commits, column: :base_commit_id
  end
end

Version data entries

25 entries across 25 versions & 1 rubygems

Version Path
shipit-engine-0.39.0 db/migrate/20171120161420_add_base_info_to_pull_request.rb
shipit-engine-0.38.0 db/migrate/20171120161420_add_base_info_to_pull_request.rb
shipit-engine-0.37.0 db/migrate/20171120161420_add_base_info_to_pull_request.rb
shipit-engine-0.36.1 db/migrate/20171120161420_add_base_info_to_pull_request.rb
shipit-engine-0.36.0 db/migrate/20171120161420_add_base_info_to_pull_request.rb
shipit-engine-0.35.1 db/migrate/20171120161420_add_base_info_to_pull_request.rb
shipit-engine-0.35.0 db/migrate/20171120161420_add_base_info_to_pull_request.rb
shipit-engine-0.34.0 db/migrate/20171120161420_add_base_info_to_pull_request.rb
shipit-engine-0.33.0 db/migrate/20171120161420_add_base_info_to_pull_request.rb
shipit-engine-0.32.0 db/migrate/20171120161420_add_base_info_to_pull_request.rb
shipit-engine-0.31.0 db/migrate/20171120161420_add_base_info_to_pull_request.rb
shipit-engine-0.30.0 db/migrate/20171120161420_add_base_info_to_pull_request.rb
shipit-engine-0.29.0 db/migrate/20171120161420_add_base_info_to_pull_request.rb
shipit-engine-0.28.1 db/migrate/20171120161420_add_base_info_to_pull_request.rb
shipit-engine-0.28.0 db/migrate/20171120161420_add_base_info_to_pull_request.rb
shipit-engine-0.27.1 db/migrate/20171120161420_add_base_info_to_pull_request.rb
shipit-engine-0.27.0 db/migrate/20171120161420_add_base_info_to_pull_request.rb
shipit-engine-0.26.0 db/migrate/20171120161420_add_base_info_to_pull_request.rb
shipit-engine-0.25.1 db/migrate/20171120161420_add_base_info_to_pull_request.rb
shipit-engine-0.25.0 db/migrate/20171120161420_add_base_info_to_pull_request.rb