0
0
Fork 0
mirror of https://github.com/discourse/discourse.git synced 2026-08-05 20:29:55 +08:00
discourse/db/migrate/20210127140730_undo_add_processed_to_notifications.rb

10 lines
254 B
Ruby
Vendored

# 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