debian-mirror-gitlab/db/migrate/20181211092510_add_name_author_id_and_sha_to_releases.rb
2019-02-15 15:39:39 +05:30

14 lines
317 B
Ruby

# 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