diff --git a/README.md b/README.md index 3c98a8c8a209f6607c27ee2113f9208a819ee829..2dfe0a9244dceef129b3c95b155fcc5c17988c21 100644 --- a/README.md +++ b/README.md @@ -114,13 +114,22 @@ $ flask run OperationalError: (sqlite3.OperationalError) no such table ``` - **Solution:** + **Solution1:** Move sqlite database file into app directory ```shell $ mv app.db app/ ``` + **Solution2(Preferred):** + Since the problem is because of relative path, using absolute path will solve it. + + For instance: + + ```python + SQLALCHEMY_DATABASE_URI='sqlite:////tmp/app.db' + ``` + 4. **FSADeprecationWarning** while accessing database using SQLAlchemy ```shell