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

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

  DOWNTIME = false

  # rubocop:disable Migration/PreventStrings
  def change
    add_column :releases, :author_id, :integer
    add_column :releases, :name, :string
    add_column :releases, :sha, :string
  end
  # rubocop:enable Migration/PreventStrings
end