1 2 3 4 5 6 7 8 9 10
# frozen_string_literal: false class ChangeAttachmentsDigestLimitTo64 < ActiveRecord::Migration[4.2] def up change_column :attachments, :digest, :string, limit: 64 end def down change_column :attachments, :digest, :string, limit: 40 end end