mirror of
https://github.com/discourse/discourse.git
synced 2024-11-25 18:30:26 -06:00
DEV: prevent already defined global warning
This commit is contained in:
parent
4a9756ff3f
commit
5dd97d6d38
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user