2018-01-29 16:06:17 -05:00
|
|
|
# See http://doc.gitlab.com/ce/development/migration_style_guide.html
|
|
|
|
# for more information on how to write migrations for GitLab.
|
|
|
|
|
2018-11-13 02:27:31 -05:00
|
|
|
class AddUploadsBuilderContext < ActiveRecord::Migration[4.2]
|
2018-01-29 16:06:17 -05:00
|
|
|
include Gitlab::Database::MigrationHelpers
|
|
|
|
|
|
|
|
# Set this constant to true if this migration requires downtime.
|
|
|
|
DOWNTIME = false
|
|
|
|
|
|
|
|
def change
|
2019-08-23 17:36:12 -04:00
|
|
|
# rubocop:disable Migration/AddLimitToStringColumns
|
2018-01-29 16:06:17 -05:00
|
|
|
add_column :uploads, :mount_point, :string
|
|
|
|
add_column :uploads, :secret, :string
|
2019-08-23 17:36:12 -04:00
|
|
|
# rubocop:enable Migration/AddLimitToStringColumns
|
2018-01-29 16:06:17 -05:00
|
|
|
end
|
|
|
|
end
|