debian-mirror-gitlab/db/migrate/20210128140232_add_text_limit_to_dependency_proxy_manifests_content_type.rb
2021-03-11 19:13:27 +05:30

17 lines
380 B
Ruby

# frozen_string_literal: true
class AddTextLimitToDependencyProxyManifestsContentType < ActiveRecord::Migration[6.0]
include Gitlab::Database::MigrationHelpers
DOWNTIME = false
disable_ddl_transaction!
def up
add_text_limit :dependency_proxy_manifests, :content_type, 255
end
def down
remove_text_limit :dependency_proxy_manifests, :content_type
end
end