Refactor code structure for improved readability and maintainability

This commit is contained in:
bolade
2025-10-08 10:03:30 +01:00
parent 84e3c7b72a
commit 26a1197db0
7 changed files with 25 additions and 12 deletions
Binary file not shown.
+1 -1
View File
@@ -14,7 +14,7 @@ Base = declarative_base()
# Get absolute path to the preprocessor database
# APP_DIR = Path(__file__).parent.parent
# PREPROCESSOR_DB = APP_DIR.parent / "preprocessor" / "version_two.db"
DATABASE_URL = os.getenv("DATABASE_URL", "sqlite:///./version_two.db")
DATABASE_URL = os.getenv("DATABASE_URL", "sqlite:///./investors.db")
# Create engine
engine = create_engine(DATABASE_URL, echo=False)