From c5bcbf51bce618d5cf21294f2a8dfee2856fb41b Mon Sep 17 00:00:00 2001 From: Antoine Van Elstraete Date: Thu, 13 Aug 2026 15:28:43 +0200 Subject: [PATCH] =?UTF-8?q?docs:=20utiliser=20db.engine=20au=20lieu=20de?= =?UTF-8?q?=20db.get=5Fengine()=20d=C3=A9pr=C3=A9ci=C3=A9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: OpenAI/GPT-5.6-terra --- docs/plans/2026-03-11-multi-vehicule.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/plans/2026-03-11-multi-vehicule.md b/docs/plans/2026-03-11-multi-vehicule.md index 360cf83..f73c386 100644 --- a/docs/plans/2026-03-11-multi-vehicule.md +++ b/docs/plans/2026-03-11-multi-vehicule.md @@ -312,7 +312,7 @@ def _migrate_db(app): conn.close() with app.app_context(): - engine = db.get_engine() + engine = db.engine if "motor_vehicle_id" not in columns: with engine.connect() as conn: conn.execute(sa.text(