about summary refs log tree commit diff
path: root/db/migrate
diff options
context:
space:
mode:
authorNick Schonning <nschonni@gmail.com>2023-02-18 17:00:17 -0500
committerGitHub <noreply@github.com>2023-02-19 07:00:17 +0900
commit167709f6b0731c163619c58afcb0ca11bb393e54 (patch)
treeac8486ba81e1ff64d7f6a777a78346b9a327218f /db/migrate
parentc0d7c855b3f6865f16c909e803093cebbc3bd709 (diff)
Autofix Rubocop Style/BlockDelimiters (#23706)
Diffstat (limited to 'db/migrate')
-rw-r--r--db/migrate/20171020084748_add_visible_in_picker_to_custom_emoji.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/db/migrate/20171020084748_add_visible_in_picker_to_custom_emoji.rb b/db/migrate/20171020084748_add_visible_in_picker_to_custom_emoji.rb
index 60a287101..946e26ff2 100644
--- a/db/migrate/20171020084748_add_visible_in_picker_to_custom_emoji.rb
+++ b/db/migrate/20171020084748_add_visible_in_picker_to_custom_emoji.rb
@@ -1,7 +1,7 @@
 class AddVisibleInPickerToCustomEmoji < ActiveRecord::Migration[5.1]
   def change
-    safety_assured {
+    safety_assured do
       add_column :custom_emojis, :visible_in_picker, :boolean, default: true, null: false
-    }
+    end
   end
 end