summaryrefslogtreecommitdiffstats
path: root/db
diff options
context:
space:
mode:
authorToshi MARUYAMA <marutosijp2@yahoo.co.jp>2019-09-24 05:21:20 +0000
committerToshi MARUYAMA <marutosijp2@yahoo.co.jp>2019-09-24 05:21:20 +0000
commitbb5706e2f935728bba312c94773d59e357da6b6e (patch)
tree8a97a03315452a1a1e3402bfe7638f63297397e9 /db
parenta405e8f9507e5a15b48001b35097814d34d40af3 (diff)
downloadredmine-bb5706e2f935728bba312c94773d59e357da6b6e.tar.gz
redmine-bb5706e2f935728bba312c94773d59e357da6b6e.zip
code cleanup: rubocop: fix Layout/EmptyLineBetweenDefs in db/migrate/20170302015225_change_attachments_digest_limit_to_64.rb
git-svn-id: http://svn.redmine.org/redmine/trunk@18515 e93f8b46-1217-0410-a6f0-8f06a7374b81
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