20190706233204_drop_stream_entries.rb 228 B

12345678910111213
  1. # frozen_string_literal: true
  2. class DropStreamEntries < ActiveRecord::Migration[5.2]
  3. disable_ddl_transaction!
  4. def up
  5. drop_table :stream_entries
  6. end
  7. def down
  8. raise ActiveRecord::IrreversibleMigration
  9. end
  10. end