summaryrefslogtreecommitdiff
path: root/db/migrate/20181211092510_add_name_author_id_and_sha_to_releases.rb
blob: 60815e0c31a5ccdd29f89009915808b6111c4433 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
# frozen_string_literal: true

class AddNameAuthorIdAndShaToReleases < ActiveRecord::Migration[5.0]
  include Gitlab::Database::MigrationHelpers

  DOWNTIME = false

  def change
    add_column :releases, :author_id, :integer
    add_column :releases, :name, :string
    add_column :releases, :sha, :string
  end
end