discourse/db/migrate/20180308071922_drop_raise_r...

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

12 lines
243 B
Ruby
Raw Normal View History

# frozen_string_literal: true
class DropRaiseReadOnlyFunction < ActiveRecord::Migration[5.1]
def up
2018-03-08 02:52:07 -05:00
DB.exec("DROP FUNCTION IF EXISTS raise_read_only() CASCADE;")
end
def down
raise ActiveRecord::IrreversibleMigration
end
end