diff --git a/db/migrate/20180308071922_drop_raise_read_only_function.rb b/db/migrate/20180308071922_drop_raise_read_only_function.rb index c652109610a..a90a2561c9f 100644 --- a/db/migrate/20180308071922_drop_raise_read_only_function.rb +++ b/db/migrate/20180308071922_drop_raise_read_only_function.rb @@ -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