diff options
Diffstat (limited to 'db/post_migrate/20200703064117_generate_missing_routes_for_bots.rb')
-rw-r--r-- | db/post_migrate/20200703064117_generate_missing_routes_for_bots.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/db/post_migrate/20200703064117_generate_missing_routes_for_bots.rb b/db/post_migrate/20200703064117_generate_missing_routes_for_bots.rb index 85d62cbb6dd..1d3f57d3fe6 100644 --- a/db/post_migrate/20200703064117_generate_missing_routes_for_bots.rb +++ b/db/post_migrate/20200703064117_generate_missing_routes_for_bots.rb @@ -36,7 +36,7 @@ class GenerateMissingRoutesForBots < ActiveRecord::Migration[6.0] belongs_to :owner, class_name: 'GenerateMissingRoutesForBots::User' - scope :for_user, -> { where('type IS NULL') } + scope :for_user, -> { where(type: nil) } scope :for_bots, -> { for_user.joins(:owner).merge(GenerateMissingRoutesForBots::User.bots) } scope :without_routes, -> do |