Fix incorrect function name.

This commit is contained in:
Guo Xiang Tan 2018-03-08 15:52:07 +08:00
parent f038903423
commit c39167f5da

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