debian-mirror-gitlab/db/migrate/20220303191047_add_text_limit_to_deployment_approvals_comment.rb
2022-05-07 20:08:51 +05:30

13 lines
288 B
Ruby

# frozen_string_literal: true
class AddTextLimitToDeploymentApprovalsComment < Gitlab::Database::Migration[1.0]
disable_ddl_transaction!
def up
add_text_limit :deployment_approvals, :comment, 255
end
def down
remove_text_limit :deployment_approvals, :comment
end
end