2021-01-27 11:29:24 -05:00
|
|
|
# frozen_string_literal: true
|
|
|
|
class UndoAddProcessedToNotifications < ActiveRecord::Migration[6.0]
|
|
|
|
def up
|
|
|
|
execute "ALTER TABLE notifications DROP COLUMN IF EXISTS processed"
|
|
|
|
end
|
2024-10-25 03:13:06 -04:00
|
|
|
|
|
|
|
def down
|
|
|
|
raise ActiveRecord::IrreversibleMigration
|
|
|
|
end
|
2021-01-27 11:29:24 -05:00
|
|
|
end
|