mirror of
https://github.com/discourse/discourse.git
synced 2025-02-25 18:55:32 -06:00
DEV: prevent already defined global warning
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user