A platform for community discussion. Free, open, simple.
DEV: prevent already defined global warning
Régis Hanol5dd97d6d3852
diff --git a/lib/migration/base_dropper.rb b/lib/migration/base_dropper.rbindex d013bea9808..e6f397ecd0b 100644--- a/lib/migration/base_dropper.rb+++ b/lib/migration/base_dropper.rb@@ -2,7 +2,7 @@module Migrationclass BaseDropper- FUNCTION_SCHEMA_NAME = "discourse_functions".freeze+ FUNCTION_SCHEMA_NAME ||= "discourse_functions".freezedef self.create_readonly_function(table_name, column_name = nil)DB.exec <<~SQL