Fix incorrect function name.

This commit is contained in:
Guo Xiang Tan 2018-03-08 15:52:07 +08:00
parent 152f64a18b
commit 10d6101eae

View File

@ -1,7 +1,7 @@
class DropRaiseReadOnlyFunction < ActiveRecord::Migration[5.1]
def up
ActiveRecord::Base.exec_sql(
"DROP FUNCTION IF EXISTS raise_read_only CASCADE;"
"DROP FUNCTION IF EXISTS raise_read_only() CASCADE;"
)
end