summaryrefslogtreecommitdiffstats
path: root/db/migrate/20170302015225_change_attachments_digest_limit_to_64.rb
blob: 36cc760150814b612716b10fdd6014a1d9235746 (plain)
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