about summary refs log tree commit diff
path: root/db/migrate/20180615122121_add_autofollow_to_invites.rb
diff options
context:
space:
mode:
authorEugen Rochko <eugen@zeonfederated.com>2022-04-29 23:27:03 +0200
committerGitHub <noreply@github.com>2022-04-29 23:27:03 +0200
commitf6d35ed57d156f4225338a89372c8e83721e46c9 (patch)
treeb83ee4170d73e04438158e4fd05f1b4b344b3c7e /db/migrate/20180615122121_add_autofollow_to_invites.rb
parent7b0fe4aef97c6a5f73a03146b669a415f396799c (diff)
Remove IP matching from e-mail domain blocks (#18190)
Clear out e-mail domain blocks created from automatically resolved DNS records
Diffstat (limited to 'db/migrate/20180615122121_add_autofollow_to_invites.rb')
-rw-r--r--db/migrate/20180615122121_add_autofollow_to_invites.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/db/migrate/20180615122121_add_autofollow_to_invites.rb b/db/migrate/20180615122121_add_autofollow_to_invites.rb
index 850b1d693..8c5fb7410 100644
--- a/db/migrate/20180615122121_add_autofollow_to_invites.rb
+++ b/db/migrate/20180615122121_add_autofollow_to_invites.rb
@@ -5,7 +5,7 @@ class AddAutofollowToInvites < ActiveRecord::Migration[5.2]
 
   disable_ddl_transaction!
 
-  def change
+  def up
     safety_assured do
       add_column_with_default :invites, :autofollow, :bool, default: false, allow_null: false
     end