English Forums > Development and Code Review
Easy to reset
(1/1)
matsukan:
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.
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 ?
fabian:
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.
matsukan:
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 ?
Navigation
[0] Message Index
Go to full version