mirror of
https://github.com/discourse/discourse.git
synced 2024-11-22 19:46:55 +08:00
11 lines
254 B
Ruby
11 lines
254 B
Ruby
# 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
|