diff --git a/lib/migration/base_dropper.rb b/lib/migration/base_dropper.rb index d013bea9808..e6f397ecd0b 100644 --- a/lib/migration/base_dropper.rb +++ b/lib/migration/base_dropper.rb @@ -2,7 +2,7 @@ module Migration class BaseDropper - FUNCTION_SCHEMA_NAME = "discourse_functions".freeze + FUNCTION_SCHEMA_NAME ||= "discourse_functions".freeze def self.create_readonly_function(table_name, column_name = nil) DB.exec <<~SQL