db/migrate/20210701073944_add_digest_setting.rb
# Removes all digest channels. Includes non default channels as those might
# also have been added not by the migration but in the cause of the functionality
# the migration was added for.
Removes all digest channels. Includes non default channels as those might
also have been added not by the migration but in the cause of the functionality
the migration was added for.
Removes all digest channels . Includes non default channels as those might also have been added not by the migration but in the cause of the functionality the migration was added for .
def remove_digest_channels
    execute <<~SQL
      DELETE FROM
        notification_settings
      WHERE
        channel = 2
    SQL
  end
def remove_digest_channels execute <<~SQL 
      DELETE FROM
        notification_settings
      WHERE
        channel = 2
     SQL end
Removes all digest channels.
Removes all digest channels .