discourse/db/migrate/20210127140730_undo_add_processed_to_notifications.rb

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

11 lines
254 B
Ruby
Raw Normal View History

# frozen_string_literal: true
class UndoAddProcessedToNotifications < ActiveRecord::Migration[6.0]
def up
execute "ALTER TABLE notifications DROP COLUMN IF EXISTS processed"
end
def down
raise ActiveRecord::IrreversibleMigration
end
end