mirror of
https://github.com/discourse/discourse.git
synced 2025-09-06 10:50:21 +08:00
DEV: prevent already defined global warning
This commit is contained in:
parent
4a9756ff3f
commit
5dd97d6d38
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue