mirror of
https://github.com/Retrospring/retrospring.git
synced 2024-11-20 16:19:52 +01:00
8 lines
256 B
Ruby
8 lines
256 B
Ruby
|
# frozen_string_literal: true
|
||
|
|
||
|
class RemoveExpiredServiceConnectionNotifications < ActiveRecord::Migration[6.1]
|
||
|
def up = Notification.where(type: "Notification::ServiceTokenExpired").delete_all
|
||
|
|
||
|
def down = raise ActiveRecord::IrreversibleMigration
|
||
|
end
|