summaryrefslogtreecommitdiffstats
path: root/db
diff options
context:
space:
mode:
Diffstat (limited to 'db')
-rw-r--r--db/migrate/20170302015225_change_attachments_digest_limit_to_64.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/db/migrate/20170302015225_change_attachments_digest_limit_to_64.rb b/db/migrate/20170302015225_change_attachments_digest_limit_to_64.rb
index 620deb251..f7e0018aa 100644
--- a/db/migrate/20170302015225_change_attachments_digest_limit_to_64.rb
+++ b/db/migrate/20170302015225_change_attachments_digest_limit_to_64.rb
@@ -2,6 +2,7 @@ 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