FIX: Make migration compatible with stable branch

FIX: Make migration compatible with stable branch

diff --git a/db/migrate/20191119174425_rename_site_setting_assign_emailer.rb b/db/migrate/20191119174425_rename_site_setting_assign_emailer.rb
index b26a4cf..19ae6fe 100644
--- a/db/migrate/20191119174425_rename_site_setting_assign_emailer.rb
+++ b/db/migrate/20191119174425_rename_site_setting_assign_emailer.rb
@@ -1,6 +1,6 @@
 # frozen_string_literal: true
 
-class RenameSiteSettingAssignEmailer < ActiveRecord::Migration[6.0]
+class RenameSiteSettingAssignEmailer < ActiveRecord::Migration[5.2]
   def up
     execute "UPDATE site_settings
              SET name = 'assign_mailer', value = '#{AssignMailer.levels[:always]}', data_type = #{SiteSettings::TypeSupervisor.types[:enum]}

GitHub sha: 60f7aa62

1 Like