Auto removing not registered devices from logs table at database

Hi @brocaar!

As much as we receive a lots of thousands devices frames over LoRaWAN gateways, even the not registered nodes are being written permanently in database.

Please, how can we automatically rejects devices data that are not registered into any application at the server?

Best Regard!