In my rails app I have ActiveRecord::Migrator.up('db/views/') and ActiveRecord::Migrator.down('db/views/'). After updading to rails 5.2 it seems that this function has been removed. I attempted to use ActiveRecord::Migration.down('db/views/') but it seems that this function does not take any parameters.
What would be the modern alternative for ActiveRecord::Migrator.up(')?