mirror of
https://github.com/discourse/discourse.git
synced 2026-07-29 15:54:48 -05:00
Fix incorrect function name.
This commit is contained in:
@@ -1,7 +1,7 @@
|
|||||||
class DropRaiseReadOnlyFunction < ActiveRecord::Migration[5.1]
|
class DropRaiseReadOnlyFunction < ActiveRecord::Migration[5.1]
|
||||||
def up
|
def up
|
||||||
ActiveRecord::Base.exec_sql(
|
ActiveRecord::Base.exec_sql(
|
||||||
"DROP FUNCTION IF EXISTS raise_read_only CASCADE;"
|
"DROP FUNCTION IF EXISTS raise_read_only() CASCADE;"
|
||||||
)
|
)
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user