thiagoralves / OpenPLC_v3

OpenPLC Runtime version 3
GNU General Public License v3.0
1.1k stars 442 forks source link

migrate sql to json #83

Closed pedromorgan closed 4 years ago

pedromorgan commented 5 years ago

Python script to export sqlite to json files.

The schema and defaults need to be checked, will then go and make a "jsonschema" file for validation ;-)

pedromorgan commented 5 years ago

Schema is here https://openplcproject.gitlab.io/openplc_schema/index.html

pedromorgan commented 5 years ago

@thiagoralves This is ready to test and merge.. Will be removing sqlite from the new www refactor so all db stufff in this script