Easy to reset

Started by matsukan, September 18, 2021, 08:55:37 PM

Previous topic - Next topic
Is there any easy way to reset all tables (model data) from so called "database" ? It would nice feature sometime clear all plug-in data if something goes wrong way.

October 01, 2021, 11:03:46 PM #1 Last Edit: October 12, 2021, 10:55:38 PM by matsukan
Lets me ask my question little bit differently ... It's possible to integrate sqlite based approach to plug-in ? So can my php code access sqlite db?

Is sqlite supported ?

It is an xml file: /conf/config.xml

In theory, you can just delete the section of the plugin. It will not work if you have cross model references over different plugins.


So currently there is no pdo libraries for sqlite, even python side ...

does opnsense support these pdo libraries in future releases ?

Or it's mission impossible goto pdo path ?