debian-mirror-gitlab/db/migrate/20210729061556_add_text_limit_to_user_details_pronunciation.rb
2021-10-27 15:23:28 +05:30

16 lines
324 B
Ruby

# frozen_string_literal: true
class AddTextLimitToUserDetailsPronunciation < ActiveRecord::Migration[6.1]
include Gitlab::Database::MigrationHelpers
disable_ddl_transaction!
def up
add_text_limit :user_details, :pronunciation, 255
end
def down
remove_text_limit :user_details, :pronunciation
end
end