about summary refs log tree commit diff
path: root/db/post_migrate/20190706233204_drop_stream_entries.rb
blob: 1fecece0551828fbff60adfea7b64226a9def429 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
# frozen_string_literal: true

class DropStreamEntries < ActiveRecord::Migration[5.2]
  disable_ddl_transaction!

  def up
    drop_table :stream_entries
  end

  def down
    raise ActiveRecord::IrreversibleMigration
  end
end