From 644a539ed9dc602e62b101088a0018a1bb11cc95 Mon Sep 17 00:00:00 2001 From: Vivek Santayana Date: Tue, 13 Sep 2022 11:00:07 +0100 Subject: [PATCH] Changed to conventional extension for sqlite db --- ref-test/app/config.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ref-test/app/config.py b/ref-test/app/config.py index a1a5ed0..f6ffba1 100644 --- a/ref-test/app/config.py +++ b/ref-test/app/config.py @@ -37,7 +37,7 @@ class Config(object): MYSQL_USER = os.getenv('MYSQL_USER') MYSQL_PASSWORD = os.getenv('MYSQL_PASSWORD') SQLALCHEMY_DATABASE_URI = f'mysql+pymysql://{MYSQL_USER}:{MYSQL_PASSWORD}@{DATABASE_HOST}:{DATABASE_PORT}/{MYSQL_DATABASE}' - else: SQLALCHEMY_DATABASE_URI = f'sqlite:///{Path(os.path.abspath(f"{DATA}/database.db"))}' + else: SQLALCHEMY_DATABASE_URI = f'sqlite:///{Path(os.path.abspath(f"{DATA}/db.sqlite"))}' class Production(Config): pass