FIX: Make migration compatible with stable branch

This commit is contained in:
David Taylor 2019-12-02 14:01:39 +00:00 committed by GitHub
parent f2074f256e
commit 60f7aa62bd
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -1,6 +1,6 @@
# frozen_string_literal: true # frozen_string_literal: true
class RenameSiteSettingAssignEmailer < ActiveRecord::Migration[6.0] class RenameSiteSettingAssignEmailer < ActiveRecord::Migration[5.2]
def up def up
execute "UPDATE site_settings execute "UPDATE site_settings
SET name = 'assign_mailer', value = '#{AssignMailer.levels[:always]}', data_type = #{SiteSettings::TypeSupervisor.types[:enum]} SET name = 'assign_mailer', value = '#{AssignMailer.levels[:always]}', data_type = #{SiteSettings::TypeSupervisor.types[:enum]}