Chatwoot/db/migrate/20210527173755_remove_super_admin_access_tokes.rb

6 lines
148 B
Ruby
Raw Normal View History

class RemoveSuperAdminAccessTokes < ActiveRecord::Migration[6.0]
def change
AccessToken.where(owner_type: 'SuperAdmin').destroy_all
end
end