scinote-web/db/migrate/20181212162649_remove_datatables_reports_view.rb

10 lines
224 B
Ruby
Raw Normal View History

# frozen_string_literal: true
class RemoveDatatablesReportsView < ActiveRecord::Migration[5.1]
def up
ActiveRecord::Base.connection.execute(
'DROP MATERIALIZED VIEW IF EXISTS datatables_reports'
)
end
end