optiwindnet.db.migrate ====================== .. py:module:: optiwindnet.db.migrate .. autoapi-nested-parse:: Migrate a v2 (Pony ORM) database to v3 (Peewee). Uses sqlite3 to read the v2 file (no Pony dependency), writes v3 with Peewee. Usage: python -m optiwindnet.db.migrate input.v2.sqlite output.v3.sqlite Module Contents --------------- .. py:function:: migrate(v2_path, v3_path) Migrate a v2 Pony ORM database to v3 Peewee format. :param v2_path: Path to existing v2 database file. :param v3_path: Path for the new v3 database file (must not exist). .. py:function:: main()