<div dir="ltr">This week, I have added the support for SQLalchemy model to store presistant data along with the<div>static file based JSON storage.</div><div>User is given an option to use sqlAlchemy (mysql and sqlite3) in config file.</div><div><br></div><div>If config file includes entries for both of the above then SQLalchemy is given priority.</div><div><div>If none of them are present in config, appropriate message is displayed and Exception is raised.</div><div><div>If database does not exist then way to create DB is printed on screen.</div></div><div><br></div><div>Another controller/db/createdb.py file is added, which will create blank json file or database and tables with appropriate columns for the first time use.</div><div><br></div><div>there are two columns,</div><div>1. id : stores uuid, which is unique (TYPE : TEXT)</div><div>2. data : stores json data (TYPE: TEXT)</div><div><br></div><div>Pending:</div><div>Adding support for properly parsing sql data</div><div>fetching string and converting to dict</div><div>while adding into db,</div><div>converting dict data to string</div><div><br></div><div><br></div><div>-- <br></div><div class="gmail_signature"><div dir="ltr"><p dir="ltr" style="font-size:12.8000001907349px">Best regards,<br><a href="https://www.harshdaftary.com/" target="_blank">Harsh Daftary</a><br></p><p dir="ltr" style="font-size:12.8000001907349px">This message is for the designated person only. &<br>Please consider the environment before printing.</p></div></div>
</div></div>