From 564a69d22f34b9e22f91bc1fe36ac0c73932fa5e Mon Sep 17 00:00:00 2001
From: zhaoqingang <zhaoqg0118@163.com>
Date: 星期四, 20 二月 2025 14:13:03 +0800
Subject: [PATCH] youhua

---
 app/models/base_model.py |    3 +--
 1 files changed, 1 insertions(+), 2 deletions(-)

diff --git a/app/models/base_model.py b/app/models/base_model.py
index 580f262..4f66ee2 100644
--- a/app/models/base_model.py
+++ b/app/models/base_model.py
@@ -6,8 +6,7 @@
 
 from app.config.config import settings
 
-DATABASE_URL = os.getenv('DATABASE_URL') or settings.database_url
-
+DATABASE_URL =  settings.database_url
 engine = create_engine(DATABASE_URL, pool_size=20, max_overflow=50)
 SessionLocal = sessionmaker(autocommit=False, autoflush=False, bind=engine)
 

--
Gitblit v1.8.0