I am trying to deploy my flask app on Microsoft Azure. On the deployed site it can read the db fine, but whenever I try to write to the db, it gives: sqlalchemy.exc.OperationalError: (sqlite3.OperationalError) database is locked
My file structure inside the app folder is:
- templates
- app.py
- db.sqlite
However when i run it on my local, everything works fine. Any ideas how I can solve this?