class ChangeDigestToStringInAttachments < ActiveRecord::Migration[5.2] def change change_column :attachments, :digest, :string, :limit => 60 end end