Clean up unused function left in the database.
This commit is contained in:
parent
9dc72537e5
commit
3ef5661608
|
@ -0,0 +1,11 @@
|
||||||
|
class DropRaiseReadOnlyFunction < ActiveRecord::Migration[5.1]
|
||||||
|
def up
|
||||||
|
ActiveRecord::Base.exec_sql(
|
||||||
|
"DROP FUNCTION IF EXISTS raise_read_only CASCADE;"
|
||||||
|
)
|
||||||
|
end
|
||||||
|
|
||||||
|
def down
|
||||||
|
raise ActiveRecord::IrreversibleMigration
|
||||||
|
end
|
||||||
|
end
|
Loading…
Reference in New Issue